[EMAIL PROTECTED] wrote:
> Hi guys
>
> I'm building a LFS based system and there is one thing I want to do and 
> I've looked everywhere except here.  I hope someone knows the answer :)
> I have compiled agetty and login from Util-Linux and PAM support is 
> disabled.
>
> I have an init script that simply starts /bin/bash and gives me a 
> prompt.  I then tell it to run agetty which in turns spawns login.
> I have an /etc/passwd that looks like this: root::0:0:root:/root:/bin/bash
>
> Yet I get prompted for a password when I type in root.
>
> Can anyone get me logged in the simplest and easiest way or tell me why 
> it's not working?
>   

Do "man getty" for a clue or two. Agetty's function in life is to wait 
for a terminal to be active and start /bin/login. With the "-l" 
parameter, you can change the program it calls.

However, it sounds to me like you want to use "openvt", since you have 
no password. Forget agetty and just openvt. See the man page for details.

> Thanks so much
>   

HTH
--
wit
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to