Adding tool to remove user accounts as well

This commit is contained in:
Ubergeek 2019-05-14 11:33:38 +00:00
parent dd223d8a8e
commit 6cb4e90d5b
1 changed files with 5 additions and 0 deletions

5
rmuser Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
sudo pkill -U $1
sudo tar cfz /home/$1.tgz /home/$1
sudo userdel $1