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 PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to