Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
there is an element of OS dependence here. for example:
then chown nobody / chmod 4755 and on linux the output is (20039 is my UID, nobody is 99): real userID: 20039 effective userID: 20039 but on solaris: real userID: 20039 effective userID: 99 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. In reply to Re: forcing script to run as specific user
by robobunny
|
|