LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   automatically login a user (http://www.linuxquestions.org/questions/linux-software-2/automatically-login-a-user-222365/)

thebover 08-25-2004 05:10 PM

automatically login a user
 
I need to automatically log the user "joe" to the CLI on startup,
the computer has no monitor keyboard or mouse so if the power goes out i need the computer to autologon. how do i go about this!!!!!!

J.W. 08-26-2004 01:44 AM

Re: automatically login a user
 
Quote:

Originally posted by thebover
I need to automatically log the user "joe" to the CLI on startup,
the computer has no monitor keyboard or mouse so if the power goes out i need the computer to autologon. how do i go about this!!!!!!

If the power goes out, the computer won't be running either, so trying to set up an automatic process to log into it isn't going to work. Maybe I misunderstand your question -- J.W.

strikeforce 08-26-2004 03:47 AM

What os are you doing. I only know of running xwindows in fedora and having it log in. I would say that as the last thing in your rc.local you would add a script there to auto login.

Although someone will disagree with me.

Why would you need to login though 'everything' should be run without a user anyway.

thebover 08-26-2004 09:00 AM

Re: Re: automatically login a user
 
Quote:

Originally posted by J.W.
If the power goes out, the computer won't be running either, so trying to set up an automatic process to log into it isn't going to work. Maybe I misunderstand your question -- J.W.
i should have stated if the computer gets restarted (the bios can be set to retain last setting in the event of an power loss.)


Strikeforce: i am using slackware, and i need it to load lynx and only lynx on startup, i think i actually have it working but haveing a su
user -c /path to lynx,

it "apppears" to be working all i need now is to figure out how to write a script that detects if lynx has errored or closed.


All times are GMT -5. The time now is 03:58 AM.