On Wed, Nov 19, 2014 at 03:05:22PM -0800, David wrote:

> Using the visudo command, you can follow this template I have:
> 
> Cmnd_Alias      NETWORK = /sbin/ifconfig, /usr/sbin/wpa_gui, \
>                         /sbin/dhclient, \
>                         /etc/init.d/networking, /usr/sbin/iftop
> 
> dafr    ALL=PASSWD: ALL, NOPASSWD:NETWORK,TOOLS,PMTOOLS

That looks like a useful way for me to accomplish a similar
networking hack.  Thanks!

What security issues does it create?  Using sudo in a script
seems somewhat safer than enabling a command by typing my
password in a public place with dozens of cameras about.

Keith

-- 
Keith Lofstrom          [email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to