LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-23-2006, 12:00 AM   #1
nitinmhetre
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
Smile Autologin as superuser in linux box


hi,
I putting my first question to this forum,please help me.
Can anybody suggest me ,how I can login into a linux box without entering username and password.
I want my machine to show desktop of root user as soon as it finishes the booting stuff.
I am sure there are many intelligent people in this forum who knows this answer.

Thank you,
Nitin
 
Old 12-23-2006, 12:56 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You do not want to do this.
Never ever use the root user as your regular account.
Never ever ever autoboot to the root account.

There are ways to autoboot to a regular user... for gnome for eg: use GDM login manager and click on "login user automatically". For KDE: K > Control Center > Login Manager > Convenience. (It's been a while, so it may be slightly different now.)

However: I don't think I can overstress this...
Never ever use the root user as your regular account.
Never ever ever autoboot to the root account.

Last edited by Simon Bridge; 12-23-2006 at 12:57 AM.
 
Old 12-26-2006, 12:04 PM   #3
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Rep: Reputation: 15
root login

Please don't auto login as root. If this is really something you want other less secure OSes will happly let you. I'm not trying to be nasty but if users get the idea that logging in as root is O.K we are in for trouble. NEVER EVER on any system default to Root or Admin.
 
Old 12-28-2006, 09:58 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,556

Rep: Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947Reputation: 7947
First, it *CAN* be done. However, I am in total agreement with the other posters, in saying that you should *NEVER* do it. You should never even log in a 'regular' user account, if that user is a group-0 member, since that's just as bad as auto-logging in as root.

I'm not sure what your requirements are, or why you want to do this, but please don't. If anyone wanders up to that machine, they're able to do ANYTHING, and there's NOTHING to stop them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 to Autologin as a root(Superuser) m.harshavardhan Linux - Software 28 12-23-2019 10:04 AM
Autologin on Redhat Linux AS sikandar Linux - Software 6 12-07-2006 04:26 PM
Accessing WevDav directory on linux box A from linux box B using Ant script. panayoti Linux - Newbie 0 10-07-2006 11:44 PM
Loaded Linux, lost login ID and password for superuser? How can I recover? PaulK Linux - Newbie 3 08-24-2004 10:01 PM
autologin from window to linux chanmy8 Linux - Networking 2 01-19-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:08 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