mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-07-30 21:40:10 +02:00
@@ -91,7 +91,7 @@ sed -i "/ $user$/d" $VESTA/data/queue/traffic.pipe
|
||||
|
||||
# Deleting system user
|
||||
/usr/sbin/userdel -f $user >> /dev/null 2>&1
|
||||
/usr/sbin/userdel -f $user >> /dev/null 2>&1
|
||||
|
||||
if [ "$?" != 0 ]; then
|
||||
sed -i "/^$user:/d" /etc/passwd
|
||||
sed -i "/^$user:/d" /etc/shadow
|
||||
|
||||
Reference in New Issue
Block a user