Skip to content

Instantly share code, notes, and snippets.

@datt
Created July 4, 2016 07:57
Show Gist options
  • Save datt/f9c96f14e17ebc33bd91a2b4fb750d29 to your computer and use it in GitHub Desktop.
Save datt/f9c96f14e17ebc33bd91a2b4fb750d29 to your computer and use it in GitHub Desktop.
create a deploy user with no password.
#Login from root
adduser deploy
# set a pssowrd if asked.
# Run visudo and add following line
%deploy ALL=(ALL) NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment