Created
May 28, 2020 22:22
-
-
Save lifeofcoding/327232339c8c286b091fd5f07535ae85 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo deluser $USER sudo | |
echo "$USER ALL=NOPASSWD:ALL" | sudo su -c 'cat >> /etc/sudoers' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment