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