Bug 62840 - pam doesn't work with symlinks in /etc/securetty
Summary: pam doesn't work with symlinks in /etc/securetty
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pam
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-06 01:12 UTC by hjl
Modified: 2007-04-18 16:41 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-10-21 13:47:47 UTC


Attachments (Terms of Use)

Description hjl 2002-04-06 01:12:14 UTC
If you put a symlink from /dev in /etc/securetty, like

# cd /dev
# ln -s ttyS0 ttyFOO
# grep -v ttyS0 /etc/securetty > /tmp/securetty
# echo ttyFOO >> /tmp/securetty
# mv /tmp/securetty /etc

root can't log in on /dev/ttyS0 even though
ttyFOO is in /etc/securetty

Comment 1 Tomas Mraz 2004-10-21 13:47:47 UTC
This can be viewed as a feature - you are not logging in from ttyF00
but from ttyS0, so ttyS0 should be in securetty not ttyF00.



Note You need to log in before you can comment on or make changes to this bug.