it clear that something like
wont work ... so if anyone knows a way to do so ....my $rootID = getpwnam("root"); $< = $rootID; $> = $<;
----
NaSe
:x
In reply to su to root in a perlscript by NaSe77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |