[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Test 8 Kernel Unable to get the password prompt?
On Tue, Sep 12, 2000 at 03:34:22PM +0000, Steven Walter wrote:

> If you're logging in as root, this is probably a result of the VT not
> being named in /etc/securetty. Devfsd mucks up the names, so you can
> either include "1," which would allow root logins from pseudo-terminals
> and other insecure places, or upgrade your util-linux to a newer
> version; I'm not sure what is new enough.

login checks that /etc/securetty contains the terminal name,
where the latter is obtained (since util-linux 2.10h)
from ttyname(0) by deleting a leading "/dev/" if possible.
And ttyname(0) does a readlink("/proc/self/fd/0"), which will
return the pathname that was first used to open file descriptor 0.

Maybe no change of login is required if one has 2.10h or later,
provided one adapts /etc/securetty.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.045 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site