[techtalk] How do I get rid of login screen

Laurel Fan lf25+ at andrew.cmu.edu
Tue Feb 1 18:32:42 EST 2000


Excerpts from linuxchix: 1-Feb-100 Re: [techtalk] How do I get.. by
jdike at karaya.com 
> This is a decent idea.  The tricky part is the autologin bit.  I
> think this would involve replacing the console getty with something
> like "su -l mom" in /etc/ttys.

Make sure you only run it on 1 tty, otherwise it might try to startx 6 times. 
Actually, this might work: My getty has the -l option, which lets it run
a different program in place of login.  So in /etc/inittab, all I do is
replace a line like this:
1:2345:respawn:/sbin/getty 38400 tty1
with a line like this:
1:2345:respawn:/sbin/getty -l "/bin/su -l mom" 38400 tty1

TMTOWTDI... 

************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list