I'm working on an installer script for the latest ATI drivers (as they are not in repo) and was wondering if I need to include sudo in the script, because it will be needed for the install.
All commands in a script are run as the calling user. So if I write this script:
I can successfully produce a file containing "I am running as root" at
Or as the superuser: