mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Do not overwrite default sudoers config
This commit is contained in:
parent
df9647bce8
commit
3924ede8bb
3 changed files with 3 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue