suid and executing programs as root without need of typing the root password
By jeltsch on Mon, 05/21/2007 - 21:30If you have executables (programs, scripts), that need root privileges to run (e.g. that mount something), you don't need to type in the su password everytime.
You can set the suid for that file and change its owner to root:
chmod u+s filename chown root filename