SLUG Mailing List Archives
[SLUG] Perl Help
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Perl Help
- From: Jason Rennie <jwrennie@xxxxxxxxxxx>
- Date: Wed Feb 13 11:14:02 2002
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 ?
Hofstadter's Law : "It always takes longer than you expect, even when you
take Hofstadter's Law into account."