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.

I have second network interface and I want to allow non-root users to configure it (Ubuntu). Is it possible to do this with udev or setcap? What should I rather use and how?

share|improve this question
    
Welcome to Super User! Instead of naming the problem as solved, use the Answer box below to say what you did to fix it –  Canadian Luke Aug 27 '12 at 16:52

1 Answer 1

up vote 0 down vote accepted

To allow network interface, for example eth1 to user cisco, edit /etc/sudoers with a "safe editor" like vim:

cisco All = (root) NOPASSWD: /sbin/ifconfig eth1 *

NOTE: Taken from the OP's edit to his post

share|improve this answer

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.