Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a small nuisance I've had in Ubuntu forever. When I set my computer to login automatically, Network Manager asks me for my keyring password every time it boots and it refuses to connect to the Internet until I enter it. Is there a reason for that?

Also, other network managers such as Connman don't have this problem, and I have noticed the latter also has an application indicator while NM-applet runs in the Notification Area. Are there plans to migrate to Connman, or to adapt NM-applet for Natty?

share|improve this question
Are you sure that it is the root password? What does the dialogbox say/look like? It seems much more likely that it is your user password used to decrypt saved passwords in Gnome Keyring. – LassePoulsen Nov 1 '10 at 9:16
up vote 14 down vote accepted

There is an option in Network manager not to use password. If you edit the connection, at the bottom of the page there is a box "available to all users" if you tick this it will not require a password.

To edit right click the icon, select edit Connections, select wireless,select your connection and click edit.

share|improve this answer
So THAT's what that checkbox was for! I feel dumb now, I've suffered this nuisance for years and I could have fixed it in a minute! – Bou Nov 1 '10 at 13:05
Important to note that anyone with root/admin access on your PC will now be able to edit that network manager applet and see your WEP/WPA key. Probably fine, but if you're using PEAP authenticated connections, that key is your network password - huge security risk. Crazy that nm-applet shows you your password at all. I have the same gripe about Seahorse. – Scaine Nov 29 '10 at 18:51
actually, it should have a VERY different name. "available for all users" doesn't mean at all that your password is gonna be saved (and that's a very common use of this checkbox). Another thing is that for you to check this box, you need to go to the last tab and write down your password and only after this the box is gonna be clickable (also zero usability). – Pabluez Dec 30 '11 at 12:15
@Scaine: You expect to keep root from discovering your wifi passwords? – SamB May 11 '15 at 21:29
@SamB, Of course not. I'm merely pointing out that anyone with root access to that box will see your Active Directory password if you're using PEAP. – Scaine May 19 '15 at 20:11

NM does not ask for your root password! It asks for your keyring password.
Your keyring saves passwords encrypted, so no one can steal them. That is why you need to enter your keyring password, so Ubuntu can decrypt your passwords to use them (eg. to get your WLAN-Password).

You can check the content of your keyring in Menu -> System -> Preferences -> Passwords and Encryption Keys. Here you will find all your passwords in cleartext, after you unlocked your keyring (rightklick an element -> properties -> password -> show password).

To change your keyring password, rightklick the line Password: login and choose Change Password

Choosing no password will make keyring never ask for any password again, but still save them (unencrypted! So this should not be your first choice on a Notebook).

share|improve this answer
Thank you guys for your answers. I don't really care about my network passwords. For the time being I will remove my keyring password since no one has physical access to my laptop, but that's not an option I'm comfortable with, so I guess I'll file a bug against Network Manager, see if it's possible to have an option not to use the keyring. – Bou Nov 1 '10 at 10:05
I believe that syncing your keyring password with your login password will also stop it asking you for it. Just set it using the same method described above. – Nerdfest Nov 1 '10 at 11:13
The problem is, he uses autologin, that's why syncing the passwords is not an option – sBlatt Nov 1 '10 at 14:10
@Bou I wouldn't worry about a bug report, having a blank password would be tantamount to not using it in the first place, if you feel uncomfortable with one option, presumably you would with the other – johnc Nov 9 '10 at 23:49

The reason why NetworkManager asks for your password is that it wants to keep your passwords in a safe place (an encrypted keyring), while ConnMan doesn't care about that...

If you don't care about security, you can remove the password from the GNOME keyring, or use ConnMan instead...

And migrating to ConnMan as the default in Ubuntu is currently no option, as it only support Ethernet and WiFi, but no modems (PSTN, ISDN, DSL, 3G), Bluetooth, VPN, etc.

share|improve this answer

As said above it is primarily a security feature. It disallows unauthorized users to access/modify data on your PC.

share|improve this answer

Your Answer


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.