Created
March 29, 2019 17:14
-
-
Save jayers99/26dc217c8996e747b373db7299bee969 to your computer and use it in GitHub Desktop.
linux user management add and make wheel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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