On 05/14/2010 01:46 AM, Gustin Johnson wrote: > On 10-05-13 06:56 AM, Darshaka Pathirana wrote: > <snip> >> >> We implemented a php-over-webserver function which mainly is a system >> call to "sudo reboot" (and adding www-data to sudoers with >> the NOPASSWD option)... works fine so far. > > You may wish to lock it down it further so that the www-data user can > only use sudo to run reboot.
Right. Made that unclear. The line looks like this: www-data ALL = NOPASSWD: /sbin/reboot Regards, - Darsha _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
