Monthly Archives: January 2009
Run executables/scripts with root privileges as regular user
This is a workaround, because many distributions have disabled the usage of setuid on shell scripts. A solution is to create a small C-program, setuid that program that runs the shell script. This is how: Create a new file, say … Continue reading
Posted in Linux, Server
Leave a comment
Update postfix /etc/postfix/virtual as regular user
[Please note: Many distributions have the usage of setuid on scripts disabled, so this method won't work! See the this post instead!] Or actually, running any script with privileges of the owner of the file. This is how: Use chmod … Continue reading
Posted in Linux, Server
Leave a comment