On 7/23/07, Jamis Buck <[EMAIL PROTECTED]> 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 > verified that it works on OS X, FreeBSD 6.2, and some flavor of RHEL. > Mike verified that it works on Ubuntu. Does anyone else have access to > some more exotic distros, e.g. solaris, who could check to see if > 'sudo -p "sudo prompt: " ls' displays "sudo prompt:" as the password > prompt?
Works perfectly well on gentoo... [EMAIL PROTECTED] ~ $ sudo -p "sudo prompt: " ls sudo prompt: [EMAIL PROTECTED] ~ $ sudo -V Sudo version 1.6.8p9 -- Kenneth Kalmer [EMAIL PROTECTED] [EMAIL PROTECTED] stats http://fah-web.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
