I think I was unclear.  I did a search on cpan for sudo and came up with psh only.  I 
know the method I will use to login via ssh.  Is there an ssh module for sudo?

----- Original Message -----
From: Paul Kraus
Sent: 6/16/2003 8:46:15 AM
To: [EMAIL PROTECTED];[EMAIL PROTECTED]
Subject: RE: sudo within script

> Do a search on cpan for SSH.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: sudo within script
> 
> 
> I am writing a script that will login to multiple remote hosts and run
> commands as root.  I would like the script to prompt for the password,
> not echo it in plain text and then be able to pass it to the remote
> hosts.  Is there a safe way to do this?
> 
> Thanks for any advice
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to