Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I installed my Ubuntu 12.04, I was never asked to enter the root password, therefore I assumed it was the same with my user password. Now, when I want to connect to a wireless, my root password is required. At entering my user password I'm told it's the wrong one. How do I reset my root password?

share|improve this question
    
What is asking you for your root password? Can you provide a detailed description, with screenshots? The root password is never supposed to be requested in Ubuntu (since it generally does not exist). –  Eliah Kagan Jan 30 '13 at 9:11

2 Answers 2

The root user does not have a password by default in Ubuntu. Instead, your normal user gains root privileges through sudo or PolicyKit, entering the normal user's password.

You may have forgotten your user's password, or your user may not have sufficient rights to gain root privileges. If both are true, see this question: How do I reset a lost administrative password?

You shouldn't need root privileges to connect to a wireless network, though. Make sure "Available to all users" is unticked in the settings of the wireless connection.

Like Ari Malinen said, your user also has a keyring with a different password. By default, it is set to the same password as the user, but if you change the user's password, the keyring's password won't change with it. Run seahorse to view your keyring.

Another issue might be that you are actually being asked for the wireless network's password, which is completely independent from your user's password or your keyring password.

share|improve this answer

You can set new root password with sudo passwd. If you get prompted for keyring password it doesnt mean the root password. Keyring has its own password.

share|improve this answer
    
Please do not do this, unless you know what you are doing (in which case, you probably do not have to do it). This enables the root account, which is not generally necessary. –  Eliah Kagan Jan 30 '13 at 9:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.