BASH scripting; su to user, commands after dont execute
My question is how to, in a script, su to a user.
For simple example:
Ran as root., so I dont have to worry bout entering a password, for now. Want to figure this out first.
It does su to user zero but then does not execute anything after that point. Why? Is there a special way of doing this that im missing.