Re: switch user

2003-06-16 Thread Ahmed Moustafa
Steve Grazzini wrote: Ahmed Moustafa <[EMAIL PROTECTED]> wrote: [ That address is bouncing, by the way. ] It should not! What was the message that you got? How can I switch user "su" in perl? It's much easier to do that before running the script. :-) $ su -c ./script.pl And then once you'

Re: switch user

2003-06-16 Thread Steve Grazzini
Ahmed Moustafa <[EMAIL PROTECTED]> wrote: [ That address is bouncing, by the way. ] > How can I switch user "su" in perl? It's much easier to do that before running the script. :-) $ su -c ./script.pl And then once you're root, you can change the real and effective user ids with the magic $