I have that set up exactly in the sudoers file as specified and if I'm logged into the machine, I can sudo at will with no password prompt. However, the capistrano script still prompts me for a password.
On May 13, 2:32 pm, Jochen Kaechelin <[EMAIL PROTECTED]> wrote: > Am 13.05.2008 um 22:26 schrieb Chuck: > > > > > Last week, I successfully deployed with Capistrano with no password > > prompts. I set up a cron job to run a script that went to the right > > directory and then did a 'cap deploy'. Since then, it has been > > prompting me for a sudo password. Is there a way to avoid this? > > You can edit /etc/sudoers on your linux box and add: > > deploy_username ALL=(ALL) NOPASSWD: ALL > > -- > Jochen --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
