File tree Expand file tree Collapse file tree 3 files changed +3
-38
lines changed
Expand file tree Collapse file tree 3 files changed +3
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Defaults env_keep="VESTA"
Original file line number Diff line number Diff line change @@ -300,11 +300,6 @@ mkdir -p $vst_backups/bind
300300mkdir -p $vst_backups /vesta
301301mkdir -p $vst_backups /home
302302
303- # Backup sudoers
304- if [ -e ' /etc/sudoers' ]; then
305- cp /etc/sudoers $vst_backups /
306- fi
307-
308303# Backup nginx
309304service nginx stop > /dev/null 2>&1
310305if [ -e ' /etc/nginx/nginx.conf' ]; then
@@ -535,9 +530,9 @@ echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
535530echo " /sbin/nologin" >> /etc/shells
536531
537532# Sudo configuration
538- wget $CHOST /$VERSION /sudoers.conf -O /etc/sudoers
533+ wget $CHOST /$VERSION /sudoers.vestacp. conf -O /etc/sudoers.d/vestacp
539534wget $CHOST /$VERSION /sudoers.admin.conf -O /etc/sudoers.d/admin
540- chmod 440 /etc/sudoers
535+ chmod 440 /etc/sudoers.d/vestacp
541536chmod 440 /etc/sudoers.d/admin
542537
543538# NTP Synchronization
You can’t perform that action at this time.
0 commit comments