Changing euid egid of a perl process at runtime
Hi, I want my script started as root to run as user postfix. How do I change the uid gid of the process Thanks Ram -- Netcore Solutions Pvt. Ltd. Website: http://www.netcore.co.in Spamtraps:
Re: Changing euid egid of a perl process at runtime
Ramprasad A Padmanabhan wrote: Hi, Hello, I want my script started as root to run as user postfix. How do I change the uid gid of the process unless ( $ ) { $ = getpwnam 'postfix'; $) = getgrnam 'postfix'; } John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL