Changing euid egid of a perl process at runtime

2005-03-31 Thread Ramprasad A Padmanabhan
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

2005-03-31 Thread John W. Krahn
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