What's the ROOT password on Ubuntu 10.10?
I can't believe this - it's not letting me in as root!
|
looooool. The root password is set to something random on Ubuntu. You can set it to something, buy doing sudo su, then passwd.
|
Quote:
The password of the account given while you install Ubuntu is the password for root account. You can switch as root user by using the following command. Code:
sudo su |
Type sudo passwd root
enter your password of username with which you logged in. Now select a new root password. |
By default, the root account is locked in Ubuntu.
It is recommended to use "sudo" instead (and the password is the same as your user login password). For example instead of: Code:
su Code:
sudo apt-get update |
Quote:
"sudo -i" will also work. and I know for a fact that there are settings that you can change to allow graphical root logins, however, i dont remember how to do it exactly. Make sure you set your root password with "sudo passwd root" if you want to do that. |
sudo passwd to change root's password.
sudo any command to run as root. As snowpine say's. sudo is the ubuntu way. |
Hmm... I've observed that Red Hat based distros; Centos, Mandriva, etc use "SU" and have a separate root account with password, as does Solaris, Aix, HP-UX and other Unix flavours.
Debian distros; Ubuntu, Mint, etc, use "sudo" where you have to confirm the sudo command with your own (user) password. My :twocents: Play Bonny! :hattip: |
Quote:
|
Quote:
Here's some more interesting info: You can control which users can use sudo (and how easy it is for them) this configuration is located in the /etc/sudoers file. To edit that file, use the command visudo I like to set my sudoers file up so that all users can use sudo without needing password. (everybody knows their own password, so whats the difference?) It just makes things easier for me, and not any less secure in practice. |
Quote:
Since you can do a lot of damage as root, sudo asks you for your password again to be sure it's you typing the command, not someone else (that the admin might not trust) that is sitting in front of your terminal. |
Quote:
|
Quote:
|
Quote:
If you can't figure out how to use these and other tools like the passwd command to enable the ability to log straight in as root, you probably shouldn't be logged in as root. |
Quote:
EDIT: Don't get me wrong, I'm not bashing Linux, Linux my primary OS, its the best thing out there right now. It's just not perfect. |
All times are GMT -5. The time now is 04:22 PM. |