From: Alex LeDonne Date: 2006-09-09T03:14:03+09:00 Subject: Re: Ruby + SSH + Sudo On 9/7/06, Matt Rose wrote: > there is a way to pass the password in using sudo. I forget the > syntax but the man page should have it. If you're still curious > tomorrow, I'll dig up some code I wrote to do exactly this. > > Matt On my system, according to man sudo, -S causes sudo to read the password from STDIN. -A