Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-23-2006, 01:00 AM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Rep:
|
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
|
|
|
12-23-2006, 01:56 AM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
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 01:57 AM.
|
|
|
12-26-2006, 01:04 PM
|
#3
|
Member
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104
Rep:
|
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.
|
|
|
12-28-2006, 10:58 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,324
|
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.
|
|
|
All times are GMT -5. The time now is 03:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|