Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: forcing script to run as specific user

by Joost (Canon)
on Jun 06, 2002 at 08:46 UTC ( [id://172111]=note: print w/replies, xml ) Need Help??


in reply to Re: forcing script to run as specific user
in thread forcing script to run as specific user

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.

-- Joost downtime n. The period during which a system is error-free and immune from user input.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://172111]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-29 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found