Hi,

On 23 Jul 2007, at 17:23, Jamis Buck wrote:

>
> Mike Bailey suggested a more robust way to detect the sudo password
> prompt, using the "-p" switch to sudo to specify a standard prompt
> that Capistrano can recognize. However, before I implement that, I'd
> like to know how wide-spread the availability of that switch is.

I've just had a wee nosey at the sudo source code, and it appears to  
have been implemented in June 1995[1].  I'd guess it's pretty  
widespread these days. :-)

Cheers,

Graeme.

[1] http://www.sudo.ws/cgi-bin/cvsweb/sudo/sudo.c.diff?r1=1.95&r2=1.96
-- 
Graeme Mathieson

Rubaidh Ltd: Scottish for Ruby on Rails <http://www.rubaidh.com/>

Personal blog: <http://woss.name/>

Rubaidh Ltd is a company registered in Scotland with registration  
number SC297029.  The registered address is:

12d Monktonhall Terrace
Musselburgh
East Lothian.  EH21 6ER
United Kingdom


-- 
Graeme Mathieson

Rubaidh Ltd: Scottish for Ruby on Rails <http://www.rubaidh.com/>

Personal blog: <http://woss.name/>

Rubaidh Ltd is a company registered in Scotland with registration  
number SC297029.  The registered address is:

12d Monktonhall Terrace
Musselburgh
East Lothian.  EH21 6ER
United Kingdom



--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to