On Wed, 2002-05-15 at 09:15, Kirk Strauser wrote: > My new favorite answer is "use sudo". It lets you give certain users > permission to execute certain programs (including scripts) as particular > other user, with or without prompting for a password. It's very well > supported across a range of Unices, so once you learn how to configure it, > you can use it on pretty much every system you'll ever run.
I ended up using su -c for this particular case since the script is already running as root but now that I know about sudo I've got a dozen other scripts that I can finally write. Thanks! :) -Alex
signature.asc
Description: This is a digitally signed message part