Power saving shutdown for Server

Gavin McCullagh gmccullagh at gmail.com
Sat Aug 4 21:44:16 BST 2007


Hi,

On Fri, 03 Aug 2007, Ian Moore wrote:

> Does anybody have any ideas for an easy way for client users to
> 'powerdown' their Edubuntu server ?

If you add these lines to /etc/sudoers, the users millert, mikef and dowdy
should be able to run "sudo shutdown -h now" from any thin client as their
own user.

User_Alias	SHUTDOWN_USERS = millert, mikef, dowdy
Cmnd_Alias	SHUTDOWN = /usr/sbin/shutdown
SHUTDOWN_USERS  ALL = SHUTDOWN

I haven't tested these but more examples are here:

	http://www.gratisoft.us/sudo/sample.sudoers

and "man sudoers" will give you the manual page.

Gavin




More information about the edubuntu-users mailing list