Skip to content

Instantly share code, notes, and snippets.

@aarvay
Created July 5, 2011 18:44
Show Gist options
  • Save aarvay/1065540 to your computer and use it in GitHub Desktop.
Save aarvay/1065540 to your computer and use it in GitHub Desktop.
script to add a user "deploy"
#!/bin/bash
adduser deploy
#answer the relevant questions
#After creating the deploy user, add the following line below the root, to give sudo permission.
#deploy ALL=(ALL) ALL
visudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment