|
|
@@ -20,6 +20,11 @@ useradd --create-home allo-gg |
|
|
|
adduser allo-gg sudo |
|
|
|
echo allo-gg:allo-gg | chpasswd |
|
|
|
|
|
|
|
# Autoriser l'utilisateur allo-gg a controler le module |
|
|
|
echo >> /etc/sudoers |
|
|
|
echo "## user is allowed to execute halt and reboot" >> /etc/sudoers |
|
|
|
echo "allo-gg ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff" >> /etc/sudoers |
|
|
|
|
|
|
|
# Installation de Allo-GG |
|
|
|
rm -vf /var/www/html/index.html |
|
|
|
chown -R allo-gg:allo-gg /var/www/html/ |
|
|
|