On Apr 3, 2008, at 11:32 PM, Peter Michaux wrote:
> > I am deploying to my debian machine. The "runner" user is "tsp" and my > app lives at "/home/tsp/tsp_rails_app/current" > > When I do "cap deploy:cold" from my development machine, I see an > error that "tsp" is not in the sudoers list. Google has all sorts of > information about this as it relates to Capistrano. > > On the production machine I used visudo to add the following line > > tsp ALL=(ALL) ALL > > Now "cap deploy:cold" works but this configuration scares the crap out > of me. Is this really considered safe? Is there something better I > could/should be doing here? You could configure your server so you don't need root privileges to deploy and then disable sudo in Capistrano: set :use_sudo, false -- Cheers, - Jacob Atzen --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
