Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: elevated privileges for a single call

by pemungkah (Priest)
on May 08, 2013 at 22:58 UTC ( #1032698=note: print w/replies, xml ) Need Help??


in reply to elevated privileges for a single call

I might suggest you use the sudoers file to make readlink executable as root (without a password) by the user(s) who should be running the program. That's simpler, and doesn't require you to fool about with setuid scripts and the like - plus you get logging of when it was used as well.
  • Comment on Re: elevated privileges for a single call

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2023-03-20 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?