It should prompt for the password. If it isn't, there's something else wrong. You might be in an environment where sudo isn't happy without a pseudo-tty; in that case, try adding the following to your deploy.rb:

  default_run_options[:pty] = true

- Jamis

On Nov 9, 2007, at 5:05 AM, rsimmons wrote:


Does it use the password that you logged in with or do you supply the
password?  I saw the -p attribute, but have not been able to get it to
work.  How do you format the call with the password?

On Nov 8, 2:44 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
   sudo "run something", :as => "joe"

- Jamis

On Nov 8, 2007, at 12:20 PM, rsimmons wrote:



Are you able to use the -u option for sudo?  What is the command
structure to sudo as another user if it is available?




 smime.p7s
3KDownload


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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to