Root access in a script
Hi
I would like to write a script that can be executed by a normal user which contains commands that require root privileges. There must be some way of executing the su command from within the script followed by the root password, execute the desired commands and then log back to the normal user?
Cheers
Sat
|