![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: elevated privileges for a single callby pemungkah (Priest) |
on May 08, 2013 at 22:58 UTC ( #1032698=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|