How to Login as Root

Asked by filippo333

I am new to Ubuntu 7.04, and I would like to know how to login to root. Every time I try to login as root it says something like the system administrator cannot login through this screen. Can someone please tell me what to do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Solved by:
amit
Solved:
Last query:
Last reply:
Revision history for this message
Matt Smith (mattsmith) said :
#1

Well, you can always run commands as root using the sudo command.

Details of this are avaiable here: http://www.gratisoft.us/sudo/man/sudo.html (this is the complete sudo manual).

Logging in as root under X is pretty daft, you are likely to break somthing - but if you still wish to do this details are available in this thread: http://ubuntuforums.org/showthread.php?t=7403

Revision history for this message
cassini (adityavi) said :
#2

The root account in Ubuntu is locked by default. Instead administrative tasks are performed using the "sudo" command, which allows certain users the ability to run commands as root. By default, the user set up during installation has administrative privileges. When logged in as this user and performing system related tasks (system updates, system settings change etc.), you are prompted for your user password. Similarly, if root privileges are required, you can open a terminal and type sudo <command>.
For more information, please refer to the wiki article at https://help.ubuntu.com/community/RootSudo

Revision history for this message
Best amit (amityy2002) said :
#3

in the terminal if you want root login you can use the command :
$ sudo su
then you will be prompted for the password type root`s password and enjoy the root login in terminal
password:

Revision history for this message
amit (amityy2002) said :
#4

if your problem is solved you can close the ticket ...
regards
Amit

Revision history for this message
filippo333 (filippo333) said :
#5

Thanks amit, that solved my question.