more useful options | |
PerlMonks |
Re: Re: forcing script to run as specific userby Joost (Canon) |
on Jun 06, 2002 at 08:46 UTC ( [id://172111]=note: print w/replies, xml ) | Need Help?? |
take a look at 'perldoc perlsec' for more info on setuid scripts. i believe you'll need to run the 'suidperl' binary to do what you want to do.
As there are numerous complications with setuid scripts and suidperl *, I would go for the sudo option mentioned above. * See this entry in the perldelta manpage for 5.8.0 rc1:
After years of trying the suidperl is considered to be
too complex to ever be considered truly secure. The
suidperl functionality is likely to be removed in a
future release.
In Section
Seekers of Perl Wisdom
|
|