sudo sucks, sign me in as root

Asked by Eugene Worley

Who was the idiot that decided to remove root login from umbuntu. I assume that it was some super geek that thinks all users can operate efficiently from the comand line. I am a system administrator and I know from working with Xandros that by logging in as root and then using file manager and a text editor that I can complete administrative tasks in 1/10 the time it takes on a terminal. You don't need to be geeky to get the job done. Would someone please tell me in plain english how to sign in as root.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Alpo Turunen
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello

OK Relax mate

If you want to enable root account enter the following command.

$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to login.

If you want to disable root account in ubuntu you need to lock the root account by using the following command

$sudo passwd -l root

If you want to work on a root console you’d better use the following command

$sudo -i

Regards

Bhavani Shankar.

Revision history for this message
Gaurish Sharma (gslive) said :
#2

you may not know that you can work as root with file manager by
Press ALT+F2 and enter
 gksudo nautilus

for daily use make a shortcut to this command right on desktop.

Please check your attitude.
The people here are volunteers, your attitude should reflect that.

Revision history for this message
Best Alpo Turunen (alpo-turunen) said :
#3

You may also have to change the login window's configuration (from system->administration->Login Screen Setup) to allow graphical root logins.

Revision history for this message
Eugene Worley (meangenegjco) said :
#4

To Bhavani Shankar- sudo passwd root changes the root password but still does not allow me to log in as root. I still get the message "login as administrator not allowed on this computer." All system => Aministration functions now fail to load.

Revision history for this message
Eugene Worley (meangenegjco) said :
#5

To Gaurish Sharma: Your suggested solution does nothing

Revision history for this message
Eugene Worley (meangenegjco) said :
#6

to Alpo Turunen: I'll try this after I reinstall umbuntu since system -> administration -> login screen setup no longer runs. after trying other options.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#7

If you're trying to login as root from gdm then by default it's disabled in gdm.conf - because it's a really bad idea.
If you need a root shell then "sudo -s" will give you one.
If you want to set a password for root then "sudo passwd" will allow you to do it.

Can I urge you not to log in as root. If you must, start your editor and file manager from a terminal using sudo.

Revision history for this message
Eugene Worley (meangenegjco) said :
#8

to Alpo Tutunen: Thank you. Your solution worked.

To Andy Ruddock: I Have been an administrator for computer systems for over 30 years, the last 5 using Xandros. I know what I am doing. Sudo is the worst idea I have seen yet.

Revision history for this message
Eugene Worley (meangenegjco) said :
#9

Thank you:
This is the last piece to the puzzle

Revision history for this message
Eugene Worley (meangenegjco) said :
#10

I want to thank everyone who helped solve this problem. You might want to look at the Xandros loggin system. It is superior to ubuntu's.

Revision history for this message
Benson S (at7000) said :
#11

   You Sir. are correct. Sudo is a piece of garbage, suitable only for idiots. I have 25 years experience with the UNIX (and later Linux) operating system. It's a Microsoft UAC wannabe, designed to "idiot proof" Linux for people who have no business ever touching a Linux system, much less having root access. It's designed for careless fools, who as I stated, have no business at all even being in the same room as a Linux box.

Created by idiots FOR careless idiots. The "dumbing down of Linux" to the level of Microsoft, was bound to happen I suppose. It is really sad, nevertheless.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12