Purging a user on Ubuntu/Debian
No comments
Jan 21st, 4:22 pm, filed in Misc
Jan
21
I wrote a bash script that, given a user, finds all instances of his/her public keys, deletes them, then deletes the user. It’ not perfect and it’s my first bash script that actually uses control structures.
To use it, run this:
bash -c "`curl -L http://gist.github.com/raw/282619/cafe0b353672a4de292586951f88ab82d0b50a1c/purge_user.sh`"
Geek, gamer, developer, and a part-time ninja. I work at