Newbee to Ubuntu.
I've just installed Ubuntu 14.04.
How do I log in as root? Alternatively, when performing su, what's the default root password?
Thanks in advance.
Asked
Active
Viewed 572 times
0
1 Answers
1
root, as a user, has a disabled password for your protection. To run a program as root, use either sudo
or gksudo
, if the program is terminal based or graphic based. For example, to edit your rc.local file, you would open a terminal and type gksudo nano /etc/rc.local
The password for performing items with the root permissions is the same password you logged on with.
There are methods for enabling "root" as a user - if you have a need for this, you will find the appropriate links.

Charles Green
- 21,339
sudo
, as explained in this guide. So this may be a duplicate of How do I run a command as root? (the answer) or How to become root?. See also What are the benefits of sudo over su?, this general question, and this one about running GUI apps as root. – Eliah Kagan Aug 08 '14 at 02:56