You *could* set your account to not require a password for sudo. # /etc/sudoers mbailey ALL = NOPASSWD: ALL
There are some security implications - any command run using your account effectively has root. - Mike On Fri, May 13, 2011 at 9:02 PM, Tim Uckun <timuc...@gmail.com> wrote: > On Fri, May 13, 2011 at 6:21 PM, Lee Hambley <lee.hamb...@gmail.com> > wrote: > > You should endeavor to ensure that your deploy user can deploy without > > requiring 'sudo; in preference to configuring a prompt. (which can be > done > > very easily, check the docs and google.) > > > > My applications do deploy without sudo. I just wanted to run some one > off commands on the servers and thought I would try cap shell for the > first time instead of logging into each server and doing it manually. > > I googled around quite a bit but could not find any solutions. Most > posts are from 2007 and 2008 for some reason. > > Is it a difficult thing to set up? As I said ideally I could set the > password in the shell so that I don't have to type it for every server > and every command. > > Cheers. > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/capistrano?hl=en > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en