LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-05-2006, 12:28 PM   #1
henrnorl
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
Cannot login as root on Debian


When I start Debian, the login window does not let me login as root. How can I do it?
 
Old 10-05-2006, 12:59 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't. There's probably a way to enable it, but it's really not a good idea to run as root in a graphical environment. What's wrong with using your user account and then "becoming" root (e.g. with the su command) for things you need to run with root privileges?
 
Old 10-05-2006, 01:12 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Assuming you're using Gnome, in GDM look for the Actions Menu, select Configure|Security and authorize "root" to log on there.

Nylex is right, tho. This is not a very good idea. The only time I use it is when I want to do housekeeping on directories in /usr that contain pictures I need to see before I delete them, or to check programs I'm having trouble executing as a regular user to make sure it's not a permissions issue, etc. Then as soon as I'm done I log out of root.

In some ways, it's even easier to make a major mess using root from graphical mode than from the command line.

Last edited by rickh; 10-05-2006 at 01:19 PM.
 
Old 10-05-2006, 03:20 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
"root" in Linux is like owning a big power saw.
It's good to have it.
It's good to be able to use it.
It's NOT good to use it for every task.

I use GUI as root quite regularly---I also use power saws. The latter will do infinitely more damage if used carelessly. With caution, both can be used safely.
 
Old 10-05-2006, 06:58 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Slightly off-topic, but I get a kick out of newbies who use root indiscriminately. Sooner or later, they are going to wind up blowing out their system, probably losing a few things they really wanted in the process. Talk about a real learning experience, that is one.

People who switch to Ubuntu generally dislike the sudo business a lot. Ubuntu is trying to protect me from a lesson I've already learned.
 
  


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
Login to ROOT with Debian? elamigo2004 Linux - Newbie 13 11-21-2010 04:36 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
How to login to debian with root user? solutionseeker Linux - Newbie 2 01-29-2005 09:39 AM
Debian 3 root login problems everest Linux - Software 3 06-26-2004 03:48 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration