[EMAIL PROTECTED] wrote on 10-04-07 22:58: > 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? > > Thanks so much
Why not leave it at /bin/bash? Do you mean you start agetty manually after bash is running? Why? In any case, I think in this setup you cannot NOT have a password (I'd be surprised, but somebody correct me if I'm wrong -- I need to read the shadow docs; maybe with PAM? -- need to read that too). In any event, if you want that, plain /bin/bash already does what you want. bjd -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
