Skip to content

Commit 3924ede

Browse files
committed
Do not overwrite default sudoers config
1 parent df9647b commit 3924ede

File tree

3 files changed

+3
-33
lines changed

3 files changed

+3
-33
lines changed

install/ubuntu/sudoers.conf

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Defaults env_keep="VESTA"

install/vst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,9 @@ echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
535535
echo "/sbin/nologin" >> /etc/shells
536536

537537
# Sudo configuration
538-
wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers
538+
wget $CHOST/$VERSION/sudoers.vestacp.conf -O /etc/sudoers.d/vestacp
539539
wget $CHOST/$VERSION/sudoers.admin.conf -O /etc/sudoers.d/admin
540-
chmod 440 /etc/sudoers
540+
chmod 440 /etc/sudoers.d/vestacp
541541
chmod 440 /etc/sudoers.d/admin
542542

543543
# NTP Synchronization

0 commit comments

Comments
 (0)