Skip to content

Instantly share code, notes, and snippets.

@mhammonds
Created June 3, 2014 14:52
Show Gist options
  • Save mhammonds/d0465cf5be6aaad0fa2b to your computer and use it in GitHub Desktop.
Save mhammonds/d0465cf5be6aaad0fa2b to your computer and use it in GitHub Desktop.
Lockout user and kill processes
#/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