Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: elevated privileges for a single call

by pemungkah (Priest)
on May 08, 2013 at 22:58 UTC ( [id://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.

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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-03-19 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found