User allowed commands -

Clint Dilks clintd at scms.waikato.ac.nz
Wed Mar 18 20:56:55 UTC 2009


Bob Goodwin wrote:
> Sharpe, Sam J wrote:
>> Bob Goodwin wrote:
>>>
>>> Can someone tell me how I can arrange to be able to run
>>> system-control-network as user bobg.  It looks like I  should
>>> be able to accomplish this via visudo but that is overwhelmingly 
>>> complex.
>>>
>>> My objective is to be able to close or open my eth0 internet connection
>>> without
>>> jumping though hoops. As it stands I have to use system-config-network,
>>> enter password, and when the GUI comes up I can then click on
>>> "de/activate."
Hi, If you want to use sudo the following should work for you
visudo and add

bobg             ALL = NOPASSWD: /usr/bin/system-config-network

then sudo system-config-network




More information about the fedora-list mailing list