how to login as a root in graphical mode for GNOME

Asked by TheRed

Hello friends,
         Could anyone help me in enabling root account. I am using GNOME Ubuntu 8.4. I know all the ways to login and working on terminal as a root but need graphical mode for my work.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdm Edit question
Assignee:
No assignee Edit question
Solved by:
Christopher Lunsford
Solved:
Last query:
Last reply:
Revision history for this message
Christopher Lunsford (binarymutant) said :
#1

It's not advised, but to login with root just create a password for it with this command in the terminal
sudo passwd
then go to System->Administration->Login Window and under the Security tab check the "Allow local system administrator login"
You'll be able to login to root after that.

Revision history for this message
TheRed (shailesh-mali) said :
#2

I have tried this but i need gui access for particular multimedia application.
My system does not allow me to change any setting in admin tab but Still i am Admin user ( I can use sudo and change cofigurations)
If you know how to enable this let me know. I know in some file we need to change AllowRootUser variable to true. I am not able to find that file. I am using GNOME.

Revision history for this message
kabotage (kabotage) said :
#3

On console type

sudo nautilus

And it will grant root priviliges to nautilus, open up in /root with full access to all files/folders

Take note:
That running programs with root privileges can be potentially dangerous as there is no protection for the user. Take due care and always understand what you are doing before messing with important files and remember to back up!

Goodluck!

Revision history for this message
Best Christopher Lunsford (binarymutant) said :
#4

I'm not sure what you mean. To login into Gnome as root follow the directions above, if you have GDM the default login manager. Which login manager do you have?
Also are you talking about the AllowRoot option in /etc/gdm/gdm.conf ?

Revision history for this message
Tom (tom6) said :
#5

There's a difference between an Admin user (normal user, not a guest account) and SuperUser/Root. To use the features in the menu from the top taskbar

System - Administration

It asks for a password that is just your normal user one, not the SuperUser/Root password - so its the same password you use for "sudo" commands but not the one you use for "su"

Hope this helps cos i'm a bit unclear what you're asking. Perhaps this might help
http://www.psychocats.net/ubuntu/resetpassword

Regards from
Tom :)

Revision history for this message
TheRed (shailesh-mali) said :
#6

Thanks Christopher Lunsford, that solved my question.

Revision history for this message
TheRed (shailesh-mali) said :
#7

hey geeks, that was /etc/gdm/gdm.conf file i was looking for.
Thanks Lot.
All the best to you all.

Revision history for this message
Tom (tom6) said :
#8

:) heheheh. Knowing the problem is half the solution. Glad we managed to get a right answer in there for you.

Welcome to Linux
Regards from
Tom :)