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?
- Jamis --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
