--Original Message-
From: Silky Manwani [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 1:30 PM
Cc: [EMAIL PROTECTED]
Subject: Re: Nothing executes after system.
It doesn't wait for the password. I can see that it switches the user
coz the prompt changes. But as you said , yes
It doesn't wait for the password. I can see that it switches the user
coz the prompt changes. But as you said , yes, since another process
gets spawned and su gets executed.
Is there another way os saying "su" using perl?
Thanks.
On Mar 5, 2004, at 10:26 AM, Hanson, Rob wrote:
Any idea why pr
> Any idea why print never gets executed?
The su is probably waiting for you to enter in a password.
...And this probably doesn't do what you think anyway. Even though you su,
it doesn't change who the current script is running under. Your program (as
written) will spawn a new process, execute