Skip to content

Instantly share code, notes, and snippets.

@jayers99
Created March 29, 2019 17:14
Show Gist options
  • Save jayers99/26dc217c8996e747b373db7299bee969 to your computer and use it in GitHub Desktop.
Save jayers99/26dc217c8996e747b373db7299bee969 to your computer and use it in GitHub Desktop.
linux user management add and make wheel
sudo adduser <username>
sudo su <username>
mkdir .ssh
chmod 700 .ssh
vim .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
exit
# to make wheel
grep wheel /etc/group
sudo usermod -aG wheel <username>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment