Wiggins d'Anconia wrote: > Not an expert on such things, and haven't done it before (may have to > soon so thanks for asking and making me look it up ;-))... > > perldoc perlsec > section on opening in a fork to drop privileges in setuid root programs > perldoc perlvar > specifically UID, EUID > perldoc POSIX > specifically setuid() > > That should certainly start you down the right path... Not sure about > the cross platform compatibility, obviously most Win systems aren't > POSIX compliant.
That depends on how you define POSIX compliance. All NT systems do have POSIX subsystems, and applications running on NT by default impersonate the logged-in user who calls them. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]