[sudo-users] How to know real uid/gid?
jw at raven.inka.de
Thu May 25 03:52:47 EDT 2006
> In a perl script, I want to drop privileges before doing anything
> dangerous. But unfortunately, sudo sets both, real and effective uid/gid.
> How do I find out the real uid/gid to properly drop privileges? Or does
> sudo provide a different way to drop privileges? I just can't imagine
> that I'm the first one who wants to do something like this...
I've seen no replies yet to this mail. Does this mean that there is
no way to find out the real uid/gid of the user who called the command?
More information about the sudo-users