Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Running process as another user

by morgon (Deacon)
on May 14, 2014 at 15:14 UTC ( #1086047=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Running process as another user
in thread Running process as another user

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...


Comment on Re^4: Running process as another user

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-07-07 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls