MrC Wrote: 
> While you can run shutdown from within a setuid script, you do not want
> to create a setuid script for security reasons.
> 
> What you can use is a script that contains
> 
> 
> sudo /sbin/shutdown now
> 
> and add a line to /etc/sudoers that allows slimserver to run the
> shutdown command.
thats what I was looking for!
Thanks
Jono


-- 
jonolumb
------------------------------------------------------------------------
jonolumb's Profile: http://forums.slimdevices.com/member.php?userid=1474
View this thread: http://forums.slimdevices.com/showthread.php?t=18073

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to