Re: [Haserl-users] help request
Brought to you by:
nangel
|
From: Nathan A. <na...@us...> - 2014-03-07 15:23:02
|
Alternatively, you could try this (at least to test) If you make haserl as suid root: chown root:root /usr/bin/haserl chmod 4111 /usr/bin/haserl chown root:root /var/www/myscript Then haserl will run the script with the permissions of the owner /of the script/. You won't need the sudo in the script then - you'll already be running as root. You'll need to be /very careful/ to make sure all your other scripts are owned by www-data though! |