Created
June 3, 2014 14:52
-
-
Save mhammonds/d0465cf5be6aaad0fa2b to your computer and use it in GitHub Desktop.
Lockout user and kill processes
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
#/bin/bash | |
passwd -l username | |
pkill -KILL -u username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment