Ubuntu Forums (Ubuntu Linux Support)

Ubuntu Desktop => Hardware,Installation & Upgrade => Topic started by: rtroxel on February 05, 2013, 01:16:20 PM

Title: How do I log into root?
Post by: rtroxel on February 05, 2013, 01:16:20 PM
When I installed Ubuntu 12.10  last week, I forgot to set up a root account. Is this still possible?

Thanks,

Roy
Title: Re: How do I log into root?
Post by: UbuntuGeek on February 07, 2013, 09:02:11 PM
Try the following

To enable the root account and access directly via the console in root mode, you must type the command:

$ sudo passwd root   

This command allows you to set up the password mode for the root user which will be activated for the console sessions only (no GUI). Once the password is initialized, it will be possible to open a console session with the user root.

When I installed Ubuntu 12.10  last week, I forgot to set up a root account. Is this still possible?

Thanks,

Roy
Title: Re: How do I log into root?
Post by: PandaJim on July 05, 2013, 03:56:55 PM
Seriously, you don't need to log in as root.

Get the root privilege in command console via:

<pre>sudo su</pre>

Or, run software as root by add gksudo at beginning, such as open Nautilus browser as root:

<pre>gksudo nautilus</pre>