Do not overwrite default sudoers config

This commit is contained in:
Leonid Suprun 2015-01-24 11:32:03 +03:00
commit 3924ede8bb
3 changed files with 3 additions and 33 deletions

View file

@ -535,9 +535,9 @@ echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
echo "/sbin/nologin" >> /etc/shells
# Sudo configuration
wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers
wget $CHOST/$VERSION/sudoers.vestacp.conf -O /etc/sudoers.d/vestacp
wget $CHOST/$VERSION/sudoers.admin.conf -O /etc/sudoers.d/admin
chmod 440 /etc/sudoers
chmod 440 /etc/sudoers.d/vestacp
chmod 440 /etc/sudoers.d/admin
# NTP Synchronization