I'm trying to install the NetBeans IDE in my Ubuntu and in the process it's asking for my root password which I don't remember. I know my sudo user password. How can I recover my root password?
|
|
As default Ubuntu has no password set for the root user, i.e., the account named To set a password for the
After this you are asked to type in the new password twice. After this the |
|||||||||
|
|
The root password on Ubuntu systems is left unset and unusable on purpose. Ubuntu uses If you're being prompted for any password, it's most likely your own (user) password that's needed. |
||||
|
|
|
Root account is by default disabled -- that means root has no password. Ubuntu is using sudo -- sudo allows "normal users" to run commands with superuser privilegies and and to "run" sudo they are using their own password. More information here: https://help.ubuntu.com/community/RootSudo |
|||||
|
|
Use your password. If you are an administrator user, you can use your password in these password prompts. If not, you will need to log on as an administrator user to do system wide things like installing software. |
|||
|
|
|
Try installing Netbeans from the package repositories. It's packaged in such a way as to avoid the need for a root password. |
|||
|
|
|
Please see the link below: https://help.ubuntu.com/community/RootSudo#Re-disabling%20your%20root%20account |
|||||
|
|
By default the root account is disabled, and you won't have the password for your root account. If you need the password for your root account, then you have to create one for root:
Note:
You can find information for enabling the root account in RootSudo. Use it at your own risk. |
||||
|
|
|
Encryption for passwords was invented to protect them from viewing. You cannot just view it, but you can change it without viewing old one. The only way to view an encrypted password is to decode it. You can try, encrypted passwords are in file So just change the root password like this:
|
|||||||||||||||
|
