Hello Brane, yes, but that is equivalent to running the script as root... the effective user ID is 0.
Cheers, Michele On Feb 10, 2012, at 11:52 AM, Brane F. Gračnar wrote: > On 02/10/2012 10:35 AM, Michele Mazzucco wrote: >> Currently my script runs as a root. Would it be possible to restart haproxy >> (e.g. by issuing the command "/etc/init.d/haproxy restart") with lower >> privileges? >> The problem seems to be that I cannot re-bind port 80, unless the script >> runs with root privileges. > > sudo(8) is your friend. > > Brane