Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Perl Help


Hi all,

I have a completely different question today :)

I've been looking through a couple of perl books, but I need to change the
uid of a script i'm running so that when it ssh's to another machine it
will use the right ssh ident files. 

the script is started by the web server (and then forked into the back
ground) so it starts out running as root, so changing to another user
isn't a problem (probably a good idea even, but perl doesn't seem to have
a setuid function ?

Have i missed something obvious here ?

Jason 

-- 
Hofstadter's Law : "It always takes longer than you expect, even when you
take Hofstadter's Law into account."