Skip to content

Instantly share code, notes, and snippets.

@chosenonehacks
Created September 12, 2017 09:55
Show Gist options
  • Save chosenonehacks/d13f7363231cccfce482a082d42c4aab to your computer and use it in GitHub Desktop.
Save chosenonehacks/d13f7363231cccfce482a082d42c4aab to your computer and use it in GitHub Desktop.
Adding user with sudo rights
useradd -m hal9k2 -G sudo -s /bin/bash
passwd hal9k2
#or manualy
sudo adduser hal9k2 sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment