Automatic login

julius julius.junghans at gmx.de
Wed Apr 7 15:45:21 PDT 2004


On Wed, 07 Apr 2004 15:59:16 -0500
Carlos Vrancken <cvrancken at mailcan.com> wrote:

> Hello everybody. I'm a LFS newbie, having my very first LFS 5.0 working
> just fine. I'd like to somehow have a way to perform an automatic
> console login.
> 
> I used to do it using redhat distros, following this quite easy method:
> 
> http://www.cs.man.ac.uk/~jtl/RH/index.html#AutoLogin
> 
> Basically, it all comes down to the following script command:
> 
>     exec /usr/bin/open -c 1 -w -- /bin/login -f username
> 
> However, I run into a couple of problems with that line. LFS doesn't
> include the "open" command, so I tried to use "openvt" instead. But I
> can't get it to work, with every console I try it returns an error
> message, saying that that particular virtual console is already in use.
> 
> So, I got 'open' in my system. That one seems to work. But now,
> /bin/login doesn't seem to care about the '-f' option, it keeps asking
> for a password.
> 
> Any ideas/different solution/help would be very much appreciated.
> 
> Thanks a lot,
> 
> Carlos
> 
this one worked for me:
http://www.linuxgazette.com/issue72/chung.html




More information about the blfs-support mailing list