You are not logged in.
Anyone have any thoughts on this? I know the general mantra that suid'd executables are a bad thing, but I would like a normal user to be able to manage wifi.
A better idea would be to have a netcfg group, but I'm not sure how to do so.
Offline
chgrp network /usr/bin/netcfg2
chmod 4750 /usr/bin/netcfg2Offline
Or you could use sudo NOPASSWD on a certain group...
Offline
# sudoers file.
#
Cmnd_Alias NETMGR = /usr/bin/netcfg,/usr/bin/other/network/stuff
...
root ALL=(ALL) ALL
...
%network ALL=NOPASSWD: NETMGROffline
# sudoers file. # Cmnd_Alias NETMGR = /usr/bin/netcfg,/usr/bin/other/network/stuff ... root ALL=(ALL) ALL ... %network ALL=NOPASSWD: NETMGR
Perfect. Thanks.
Offline