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.


1 Answer 1


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.

  • Yep. Adding -o wlan0 (or whatever the wireless interface name is) after -p all should do the trick.
    – muru
    Jul 1, 2015 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, 2015 at 12:43
  • @levengli they will need sudo rights.
    – Joe
    Feb 2, 2016 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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