Skip to content

Instantly share code, notes, and snippets.

@michaelkeevildown
Created July 6, 2016 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelkeevildown/780e47c6453ba30e47ca5c13f27a9342 to your computer and use it in GitHub Desktop.
Save michaelkeevildown/780e47c6453ba30e47ca5c13f27a9342 to your computer and use it in GitHub Desktop.
Ubuntu Disable and Enable users
### 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