Skip to content

Commit

Permalink
Update expcleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatrow authored Mar 8, 2022
1 parent 2b7b489 commit 4de569a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modulos/expcleaner
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ for user in $(awk -F: '{print $1}' /etc/passwd); do
pkill -f $user
userdel --force $user
grep -v ^$user[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db
grep -v ^$user[[:space:]] /home/web.db > /tmp/ph ; cat /tmp/ph > /home/web.db
if [[ -e /etc/openvpn/server.conf ]]; then
remove_ovp $user
fi
Expand Down

0 comments on commit 4de569a

Please sign in to comment.