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

Anyone know if it is possible to have a "Standard User" account make IP changes (via GUI or terminal) without requiring the admin (sudo) password?

I want the user to be able to change interface from and to DHCP + set a static config (IP,mask, DG, DNS).


share|improve this question

You would have to be careful with this (especially if you specify the "NOPASSWD:" option.

access the sudoers file:

sudo visudo

Add the following line to the sudoer file:

user ALL = (root) {path/to/command} 

I believe you could use this to specify a user (or users) that could run a specific command.

Source -

Full Disclosure - I have used this before (for other purposes). But I haven't tried to specify multiple users, or commands dealing with making changes to network interfaces.

Hope this helps

share|improve this answer

Yes, you can change network settings as a standard user. Yet you have to use sudo. Sorry. Just ask to be added to sudoers.

share|improve this answer
This answer would benefit from citing supporting documentation, or a more detailed explanation, for how you are sure this is not possible. Right now it's unclear if you are really sure this cannot be done, or if you're just expressing your belief that it cannot. – Eliah Kagan Jul 23 '12 at 2:05

In Windows OS, we can give the privilege to a standard user for making TCP/IP configuration changes, such as, changing IP configuration from DHCP to Manual, also changing IP, Subnet Mask, Default Gateway, DNS severs, etc. The user has to be added in "Network Configuration Operators" groups.

The user can also disable/enable/repair Network Connections.

  2. System Tools>Local Users and Groups>Groups
  3. Double click "Network Configuration Operators" and click on "Add".
  4. Specify the user who needs IP configuration change rights.
share|improve this answer
This is useful information for Windows users, but this question (and indeed, this whole site) is about Ubuntu. It would be better for you to post this information on a Windows or general computing site. It doesn't answer the question that was asked here (which is about how to do this in Ubuntu). – Eliah Kagan Aug 1 '12 at 6:57

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.