On Mon, Oct 22, 2001 at 06:50:02AM -0500, Jon Cassorla wrote: > Anyone know if you can setuid root from a perl program or module?
You can call setuid root programs. You cannot just assume root privileges, for what should be obvious reasons. You can call the C setuid function (or equivalent) by assigning to $> and $<; see perldoc perlvar. This has the same caveats as that of the setuid family of calls; namely, you have to be root to set your uid. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]