I would like to disable wlan for some users while keeping it enabled for other users. I am using Ubuntu 14.04. It is important that the user accounts for which wlan is disabled should come up that way. It is not important whether the other accounts come up enabled or require to run something from the command line in order to enable wlan.


This is possibly a duplicate of: Disable Networking for Specific Users.

This method will disable and drop the networking feature for a specified user within Ubuntu. Be sure this is something that you want to do to your user before running the commands.

| improve this answer | |
  • Yep. Adding -o wlan0 (or whatever the wireless interface name is) after -p all should do the trick. – muru Jul 1 '15 at 19:06
  • If I do this, will the user be able to override using the network manager or will he need sudo rights? – levengli Jul 7 '15 at 12:43
  • @levengli they will need sudo rights. – Joe Feb 2 '16 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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