--- "Mr. Shawn H. Corey" <[EMAIL PROTECTED]> wrote:
> You can't run su except from a terminal. This is
> not part of Perl, it's
> part of the security for su. There's no way
> around this.
>
No way?I think Expect.pm can do this.Though putting
passwords, especially root passwords, into scripts in
clear text can mean security problems.
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/