[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autologin in console mode



On Thu, Feb 27, 2003 at 07:17:33PM -0500, Levi Waldron wrote:
> Is it possible to do an autologin into console mode?  ie, when turning on the 
> machine a particular user gets logged in every time without entering a 
> username or password?
> 
> It's for a visually-impaired user, so having to type that stuff in before the 
> voice prompts are activated is a barrier even with a simple  
> username/password.  Then with an entry in .bashrc starting "emacspeak -o" the 
> computer will go straight into voice mode every time it boots up.

i just got something kind of like that to work.  install the rungetty
package, and then open up /etc/inittab.  change the line that says:

1:2345:respawn:/sbin/getty 38400 tty1

to

1:2345:respawn:/sbin/rungetty -u username --autologin username tty1 -- bash -i


where you obviously replace username with the appropriate user.


hth
	sean

Attachment: pgp5L4eLmn3oR.pgp
Description: PGP signature


Reply to: