LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-03-2007, 06:14 AM   #1
madman8
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Rep: Reputation: 0
Server: Auto login


I am trying to get my ubuntu server (7.10) box to automatically login. I have read alot of different threads which do it on other distributions but none seem to work with ubuntu. I need it to login as a certain users so my custom login-shell will run with the right privileges.

Any help would be appreciated.
 
Old 12-03-2007, 07:57 AM   #2
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
What do you mean exactly by "automatically log in"?

Are you trying to automatically log in with ssh (ie, ssh with no password prompt)? or are you trying to boot to an ubuntu desktop without being asked for a username/password?
 
Old 12-03-2007, 04:14 PM   #3
madman8
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
auto login at the console. So it runs all of the boot scripts and then instead of asking for a username and password it goes straight into the command prompt. The sever don't have an ssh connection everything is done at the console.
 
Old 12-04-2007, 07:28 AM   #4
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
This is a very bad idea, and Linux (and unix) aren't designed to let you do this without messing around in some easy to break areas.

It would be much better to leave a sticky note with a password on it stuck to the monitor.

There are some threads on this board discussing technical reasons why this is bad.
 
Old 12-05-2007, 01:29 PM   #5
paulopugin
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
"BAD IDEA" shut up

Quote:
Originally Posted by miedward View Post
This is a very bad idea, and Linux (and unix) aren't designed to let you do this without messing around in some easy to break areas.

It would be much better to leave a sticky note with a password on it stuck to the monitor.

There are some threads on this board discussing technical reasons why this is bad.
Man, you are talking this just because you want to protect the Linux Sistem, but if the proposal is to be free, i could do everything that i want, if it is not possible to do, is not free, it is like Windows, you just can do what someone let you do.
If it is not safe, i decide, not the sr. Linus. So i think that should have a solution for this, and we can found, but say that it is not a good idea, is ridiculous. I decide if it is a good idea or not.

Sorry, something
 
Old 12-06-2007, 12:56 AM   #6
madman8
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for all your help

I have found an alternative solution to my problem. I am booting into ubuntu's recovery mode which automatically logs in as root. Security for this server is not an issue as it does not have a critical application and is physical secured.
 
Old 12-06-2007, 07:09 AM   #7
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Quote:
Originally Posted by paulopugin View Post
Man, you are talking this just because you want to protect the Linux Sistem, but if the proposal is to be free, i could do everything that i want, if it is not possible to do, is not free, it is like Windows, you just can do what someone let you do.
The system is free, you are welcome to learn the system and recode it to do whatever you want. That is not possible with Windows because you don't have the source to recode. I also did not say it was impossible, I just said it was not a good idea. As I mentioned, this is a fairly common question with quite a lot of threads you can look at if you want more information.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I auto login to ssh server? sailershen Linux - General 1 04-17-2006 01:04 AM
adminstrator login while auto-login is on? joshknape Linux - General 5 07-19-2005 04:51 AM
Auto Login mtb Linux - Software 2 01-12-2004 07:03 AM
Auto-login and auto-restart... TankerKevo Red Hat 2 10-04-2003 07:52 AM
how to auto login taoweijia Linux - Newbie 8 09-23-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration