mirror of
https://github.com/FAUSheppy/jeffrey_miller_flask_ftp
synced 2025-12-09 15:38:32 +01:00
kill connections before removing user
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill -u ${1} --signal kill
|
||||||
rm -rf /home/${1}
|
rm -rf /home/${1}
|
||||||
userdel ${1}
|
userdel ${1}
|
||||||
|
|||||||
Reference in New Issue
Block a user