Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

The title says it; I want to prevent users from viewing the wireless network password on Ubuntu. It's easily viewable through the included application called seahorse.

share|improve this question
Um, this question has been asked forever ago, but just so other users know, there is option in seahorse to right-click on the "Login" folder and lock it. After that to view whatever network entries there are, you'd have to enter sudo password. Just sayin' . . . – Serg Mar 10 '15 at 14:39
up vote 5 down vote accepted

I assume your users are unprivileged (no sudo etc.).
First delete the connection entry from the users' NetworkManager and delete the WiFi password from the users' keychain. Then log in with privileged account, open Network-Manager, edit the settings for the wireless connection and set it to "Available to all users".
This should allow every user to connect but viewing the password should need authorization with an account from from the "admin" group.

share|improve this answer

This takes a good bit of mangling the way I would do it. Take managing the wireless card out of userspace utilities(networkmanager/wicd whatever) so it isn't managed any more, remove the credential from gnome-keyring, set it to connect on boot and schedule a cron job to check every X mins if connection is up and bounce the interface if it isn't. last, make sure users can't read the wpasupplicant.conf that holds your password

share|improve this answer
I've no idea if this works, but +1 just as it sounds good ;-) – Arjan Dec 4 '10 at 13:04

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.