Root User in Ubuntu
Hi,
I am now getting back into Linux after years in the US Navy and I can't remember a great deal. However, I used to run RH9 years ago and I could log in as root. Now, with Ubuntu, I cannot nor do I see where I can manipulate the password for it so I may log in as Root. Can someone help? Thanks. |
The root account is locked (no password) in Ubuntu and you are supposed to use "sudo" instead.
See here for more info: https://help.ubuntu.com/community/RootSudo http://xkcd.com/149/ |
okay, thanks. So, how would I log in as that user? Thanks.
|
In Ubuntu the root-password is randomly generated to prevent a login as root. You can become superuser with sudo. If you want to set a new password for root, so that you can login as root, do
Code:
sudo passwd root |
Thanks, I will try that.
|
Quote:
|
And if you'd like to run commands AS root, use this: sudo bash
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 07:52 AM. |