title: How to become non-root in the middle of a shell script run as root? Possible?
body: <p>Let's say I have a shell script that runs a bunch of other sub-scripts.  I decide that my script must be run as root because the first several sub-scripts that it runs need to be run as root.  However, there are two sub-scripts run by the super-script that cannot be run as root.  Assuming my script was run as root, how do I de-root it for the last two sub-scripts?  Is this even possible?</p>