NaSe77 has asked for the wisdom of the Perl Monks concerning the following question:
it clear that something like
wont work ... so if anyone knows a way to do so ....my $rootID = getpwnam("root"); $< = $rootID; $> = $<;
----
NaSe
:x
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: su to root in a perlscript
by atcroft (Abbot) on Aug 01, 2002 at 13:15 UTC | |
by NaSe77 (Monk) on Aug 01, 2002 at 14:40 UTC | |
by crenz (Priest) on Aug 01, 2002 at 18:08 UTC | |
|
Re: su to root in a perlscript
by Abigail-II (Bishop) on Aug 01, 2002 at 12:48 UTC | |
by jdavidboyd (Friar) on Aug 01, 2002 at 13:01 UTC | |
|
Re: su to root in a perlscript
by crenz (Priest) on Aug 01, 2002 at 12:59 UTC |