On 02/10/2012 10:53 AM, Michele Mazzucco wrote: > Hello Brane, > > yes, but that is equivalent to running the script as root... the effective > user ID is 0. >
Nope, it's not :) You can configure sudo to allow specific user to run only "/etc/init.d/haproxy reload" without entering password. Your script can run without any special privileges and is still able to perform some task which requires root privileges. Brane