Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

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.