Dear List,

a have written a daemon that should finally run as a different user than
root. However I need to initially start as root to get DRb running and want
to switch the uid of the process after that.

When I change the uid $SAFE is set to 1. But I need $SAFE to be 0.

Any idea that I might do? (Running FreeBSD btw.)


Regards,

benny