Automatic login at startup


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Automatic login at startup
# 1  
Old 08-13-2010
Automatic login at startup

Hi,
how can I set my linux server that it logs in the main user at startup?

I would like to be able to make a restart remotely and be able to connect to the server again afterwards.
The problem is that the server waits for a login and than connects to the network. So at the beginning at startup there is no network, I can't connect remotely then.

Thanks!

Last edited by borobudur; 08-13-2010 at 12:23 PM..
# 2  
Old 08-13-2010
It's possible to have /etc/inittab create a terminal instead of a login prompt but that's not the same thing as doing a login and may not help. And messing with /etc/inittab can be tricky besides.

It's probably better to fix the problem that prevents it from starting the network until you login! What linux system do you have?
# 3  
Old 08-16-2010
Ubuntu server

---------- Post updated at 11:32 PM ---------- Previous update was at 10:16 AM ----------

What about openssh?
# 4  
Old 08-16-2010
What about it? If your server's waiting for a local login before connecting to the network, openssh won't work until you login locally.
# 5  
Old 08-23-2010
I acctualy found the problem. When there is no keyboard on the server then it hangs/ waits. I didn't see this because when I had this problem I turned it off and connected the keyboard and monitor and started the computer.

Thanks for the help anyway!
# 6  
Old 08-23-2010
Ah! Yep. For this reason I sometimes build(if that's the correct word) "null keyboard" devices for machines that I want to operate without one -- they're just the bare circuit board and cable from a trash keyboard, wrapped securely in insulating tape. A keyboard circuit will still actually work that way(the server boots, and the leds can be twiddled with the right software), but nobody will ever be able to push any keys Smilie I've found it to be much less hassle than driving 300km to fix the CMOS on a computer that forgot it's supposed to be able to boot headless.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Scheduling automatic Internet explorer login

Hi , I am using windows XP and IE8 I have my credentials stored for a website in internet explorer. I want to implement below scenario. I have entered both username/password for a website and left IE explorer open and locked my computer I want the computer to login in that website... (1 Reply)
Discussion started by: Jcpratap
1 Replies

2. Shell Programming and Scripting

Automatic shutdown and startup of Tomcat in Solaris

Dear Experts , I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command # su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh" but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies

3. Solaris

Automatic Login to Desktop

On Solaris 11 is it possible to bypass the userid/password requirement to automatically login to the desktop ? I'm the sole user and it is really not necessary to secure the system. I have searched this forum and have not found a relevant post. (2 Replies)
Discussion started by: stansaraczewski
2 Replies

4. Solaris

Automatic startup of SSH at reboot ?

hi friends, any idea how do we configure a automatic startup of SSH services in Solaris boot ? (5 Replies)
Discussion started by: Exposure
5 Replies

5. Slackware

Automatic login without X

I know how to set up KDM or GDM to do automatic login, but is there a way to do it without GDM or KDM or X at all so when I start the machine I am immediately taken to a waiting command prompt? Thanks (5 Replies)
Discussion started by: raidzero
5 Replies

6. UNIX for Dummies Questions & Answers

Automatic login

I need a script that will let me connect to my hpux server with just a click of the icon without type my username and password. (5 Replies)
Discussion started by: tree740
5 Replies

7. Solaris

Automatic login

Hi, Boss I have a question.... BackGround: i have a shell name xxxLineInput.x the useage is: xxxLineInput.x -Txxx -Uxxx -Pxxx when i use the command line..can run normal. Target: i want to set automatic login, the mean is when i login the as the specifical... (0 Replies)
Discussion started by: surainbow
0 Replies

8. UNIX for Advanced & Expert Users

Automatic login

Hello all, I need a script that can run an sftp session into a remote server, and retreive a file. Does anyone know how to pass in the user/password details in a script? I seem to have forgotten (5 Replies)
Discussion started by: Khoomfire
5 Replies

9. Shell Programming and Scripting

Automatic login script

Hi, I'm a beginner in unix.As a part of my script i need to remote logon using ssh. my script run as being asked for password and logons only after the user enters the password correctly. But my script stops executing after that as I login to a different server(different shell if i'm right).... (3 Replies)
Discussion started by: dayanand
3 Replies

10. UNIX for Advanced & Expert Users

Automatic time out of user login

I have asked by our security team to implement an automatic time out for user logins after a specified time interval. I have never heard of this feature in Unix before. Does anyone know of a way to accomplish this for HP-UX 11i? (2 Replies)
Discussion started by: keelba
2 Replies
Login or Register to Ask a Question