On Mon, 2 Oct 2006 15:38:39 -0400, Devon Miller wrote: > emerge app-admin/sudo > > Edit /etc/sudoers and add: > > username ALL= NOPASSWD: /etc/init.d/ner.wlan0 > > Where username is his login. To run it: > sudo /etc/init.d/net.wlan0 restart
A slightly more secure approach is to create a script to do what you want the user to be able to do and add that to /etc/sudoers. Then you control how the commands are executed as well as which commands. You could put "/etc/init.d/net.wlan0 restart" in a script and give it a desktop icon or toolbar button, so he can restart the network with a mouse click. -- Neil Bothwick That's not a bug, it's a Free Enhanced Feature!
signature.asc
Description: PGP signature

