Click to See Complete Forum and Search --> : auto login to user???is this possible with the rc.local???


koko76
06-03-2001, 02:51 AM
Umm,
Building a car mp3 box out of a linux machine (RH7.1) in any case I need to start a program in one users directory but that directory also needs to be in the system path for the app to work. Is there a way to have the system autologin as one user and then execute a command (actually a few) I was wondering if this could be done with the rc.local file or if there is another way to write a script to do this. Any help in doing this (point me to a good page on writing these kind of things) would be appreciated...
Thanks for any help you can give
Eric Scott
koko76@nycap.rr.com

Strike
06-03-2001, 06:10 AM
No, instead think of using /etc/inittab to start a program on boot. The login programs (probably getty, agetty, or mingetty) has to be told to run somehow as well, and that file is they key.

Craig McPherson
06-03-2001, 10:29 AM
http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=12&t=000407

That should help. Let me know if you have any questions.