For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2005 > How to set uid ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to set uid ?
Prasad J Pandit

2005-08-03, 10:00 pm


Hello friends !
Does any one know how to set user-id in perl script? I
mean counter-part of setuid() in perl ??


Regards
-Pra
PS: Please don't send me html/attachment/Fwd mails



________________________________________
____________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

John W. Krahn

2005-08-03, 10:00 pm

Pra J Pandit wrote:
> Hello friends !


Hello,

> Does any one know how to set user-id in perl script? I
> mean counter-part of setuid() in perl ??


You mean that you don't want to use POSIX::setuid()? You might want to
lookup the $< and $> variables in:

perldoc perlvar


John
--
use Perl;
program
fulfillment
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com