I don't know if this would work or not, but perhaps you could make a copy of bash (or what ever shell you want to use), set its suid for root execution, and then use that shell to execute your script. I wouldn't do this on an open system since it would give any hacker root access to your system. George