Skip to content

Instantly share code, notes, and snippets.

@tsabat

tsabat/root.md Secret

Created April 17, 2014 19:02
Show Gist options
  • Save tsabat/a31eaecaa7fa772308d9 to your computer and use it in GitHub Desktop.
Save tsabat/a31eaecaa7fa772308d9 to your computer and use it in GitHub Desktop.
create root deploy user
sudo useradd -s /bin/bash -m deploy
sudo usermod -G admin deploy

then change line in /etc/sudoers from

%admin ALL=(ALL) ALL

to

%admin ALL=(ALL) NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment