Capistrano

Passwordless Sudo For Capistrano

Posted by Weston Ganger on April 27, 2014

First the user must be in the sudo group:

usermod -a -G sudo userName

Lastly you must change the %sudo line in /etc/sudoers to:

%sudo ALL=NOPASSWD: ALL

 


Posted in Linux and Tagged with capistrano ssh sudo 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts