Added full sudo support for admin user

This commit is contained in:
Serghey Rodin 2014-09-02 15:48:49 +03:00
commit 7fc00d4939
12 changed files with 42 additions and 7 deletions

View file

@ -518,7 +518,9 @@ echo "/sbin/nologin" >> /etc/shells
# Sudo configuration
wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers
chmod 0440 /etc/sudoers
wget $CHOST/$VERSION/sudoers.admin.conf -O /etc/sudoers.d/admin
chmod 440 /etc/sudoers
chmod 440 /etc/sudoers.d/admin
# NTP Synchronization
echo '#!/bin/sh' > /etc/cron.daily/ntpdate