Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Running process as another userby morgon (Priest) |
on May 14, 2014 at 15:14 UTC ( [id://1086047]=note: print w/replies, xml ) | Need Help?? |
Actually you were right (so I am sorry). What I tried before I posted my question here was setting $< and that makes the process still appear as being run by root. But setting $> does the trick and is all that is needed. Seems I need to brush up on real vs effective uid...
In Section
Seekers of Perl Wisdom
|
|