Created
July 6, 2016 08:48
-
-
Save michaelkeevildown/780e47c6453ba30e47ca5c13f27a9342 to your computer and use it in GitHub Desktop.
Ubuntu Disable and Enable users
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
### Disable User | |
`sudo usermod -L -e 1 [username]` | |
### Enable user | |
`sudo usermod -U -e "" [username]` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment