Last active
July 23, 2018 21:12
-
-
Save ishrakr/d86af96b6e0af599f31d71e25f2610c6 to your computer and use it in GitHub Desktop.
This file contains 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
// Add super user permissions to user | |
visudo | |
%admin ALL=(ALL) NOPASSWD: ALL | |
groupadd admin | |
usermod -aG admin username | |
// Remove group from user | |
gpasswd -d username group | |
// Remove password from user | |
passwd -d username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment