I just installed ubuntu desktop 13.04
I need the root access and need to know the root password During installation, I left it blank.
How can find out my root password ?
Thanks. somner
I just installed ubuntu desktop 13.04
I need the root access and need to know the root password During installation, I left it blank.
How can find out my root password ?
Thanks. somner
Simple answer : You can't find the root password, If you could it would break the security model.
Also, by default root does not have a password which prevents you from logging in as root.
If you want to enable root login see this post. How to enable root login? However its not recommended see here
If you have lost the password of all Administrative users see this post on how to fix: How do I reset a lost administrative password?
Another option is sudo -i
with your password which runs a session as root
Also take a look here RootSudo
Root login is disabled by default in ubuntu. You can switch to root with
sudo bash
and then give it your personal password.
sudo su
, as mentioned by @StackExchange User, or sudo -s
are much better alternatives. (thank you for coming to my ted talk).
– Bobbbay
Mar 29 '21 at 01:30
While the answer given by A J is technically correct, you should use sudo su
to switch to the root user. If for some reason you must use his answer, please do sudo bash --login
--login
will present you with a login-type shell instead of something simulated.
– StackExchange User
May 08 '13 at 21:47
sudo
to run commands as superuser, when using the user that was configured at installation time. The duplicate status is accurate and correct as a result. – Thomas Ward May 09 '13 at 00:21