[H-GEN] temporary user change in bash script

mick bareman at tpg.com.au
Sun Apr 8 22:46:20 EDT 2012

I need run a script as root but change to a different to execute one step in the middle of the script, the return to being root to finish the script.

I've looked through a couple of bash snippet sites ans Advanced Bash Scripting but can't for the life of me see what I need.

Can someone please help me


More information about the General mailing list