[uClibc]tinylogin vs uclibc problems

Mr Pink eleclerc at cgocable.ca
Tue Nov 5 03:16:18 UTC 2002


Don't know about LRP(Don't know what it is!!!)  but you're right about
securetty all the way.  It is the cause of the problem.

GREAT THANKS!!!

By the way I just tried to add stdin in the securetty file and it works to
log in but why is that.
How come it says
'root login on 'stdin' ???


Thanks again,

Mr Pink

-----Original Message-----
From: Danny Lepage [mailto:danny.lepage at enter-net.com]
Sent: Monday, November 04, 2002 9:55 PM
To: Mr Pink; uclibc at uclibc.org
Subject: Re: [uClibc]tinylogin vs uclibc problems


From: "Mr Pink" <eleclerc at cgocable.ca>
To: <uclibc at uclibc.org>
Sent: Monday, November 04, 2002 8:47 PM
Subject: RE: [uClibc]tinylogin vs uclibc problems
> What I find really strange is that if I do have a password set and I enter
> the wrong one it says
>
> Login[19]:password incorrect for root on stdin

for root on stdin ?!?!

I this case, my guess is that /dev/stdin is not in /etc/securetty.

Are you using Leaf/Bering/LRP by any chance ? Have been having the same
problem with LRP. I removed the following lines from root.dev.mk and it
fixed it (saw the fix from Eric S. ?? on LRP mailing list):

[/var/lib/lrpkg/root.dev.mk, from root.lrp or initrd.lrp, depending on
version of LRP]

#ln -sf fd/0 stdin >null 2>&1
#ln -sf fd/1 stdout >null 2>&1
#ln -sf fd/2 stderr >null 2>&1

[End Snippets]

Somehow, uclibc and busybox/tinylogin "login" thinks that we are logging
from /dev/stdin instead of /dev/ttyXX when the above links exists.

Regards,

Danny





More information about the uClibc mailing list