Bug 62840

Summary: pam doesn't work with symlinks in /etc/securetty
Product: [Retired] Red Hat Linux Reporter: hjl
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-21 13:47:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.