Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Last active April 27, 2019 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrlesmithjr/77e3fa8a3d50835b2c531ce52eb5c51e to your computer and use it in GitHub Desktop.
Save mrlesmithjr/77e3fa8a3d50835b2c531ce52eb5c51e to your computer and use it in GitHub Desktop.
#adduser --shell /bin/bash --gecos "" --disabled-password testuser1
useradd -s /bin/bash -m -G sudo testuser1
echo "testuser1:testpass" | chpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment