mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
improving conf directory permissions
This commit is contained in:
parent
b5f52c1545
commit
b0481bd4e7
3 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,7 @@ sed -i "/ $user$/d" $VESTA/data/queue/traffic.pipe
|
|||
|
||||
# Removing system user
|
||||
/usr/sbin/userdel -f $user
|
||||
chattr -i $HOMEDIR/$user/conf
|
||||
rm -rf $HOMEDIR/$user
|
||||
rm -f /var/spool/mail/$user
|
||||
rm -f /var/spool/cron/$user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue