[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Logging in after boot ..



Hi,

someone asked about logging in to an user without keying in the customary
username and password just after boot. (I think I deleted that mail ..).
Well
you can append the following lines in your /etc/rc.d/rc.local file.

If the user name to which you generally log in is my_login, put this line:

#-------- log in to my_login (modified 06/08/1999) --- Check the path on
your m/c
su my_login -c '/bin/bash -login -'
#-------- end of modification 06/08/1999

The -login tells bash to read bash_profile | ~/.bash_profile, to set env.
variables.


Suvendra
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------