|
|
@@ -25,6 +25,9 @@ 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 |
|
|
|
|
|
|
|
# Autorisation de clefs SSH publiques |
|
|
|
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbvr8J95SXj0byVhBSOt/iShxzf0TVGKaxvo4d+pdrEaiDFxQEn/Iim9qEH9FXV9kQ8frUuYmVbh7Rqvh8QpTQM77eLHeZgXejw7St0OMmZSGpUsomIANZQNspDQ/qQbXFXmKnGJiC7TCEqaNoDTmHrdZ4Hvei4ly16e8Zic5pjcMruNeixcVkZOLJZWViGgbMlZN8jSll9pFfNRYKhIp6boalK5DexzgUZkUCk4HkPHo0I70LyElINmt9PkpHwzAFbsTRmI27Z9C5xI5OZ86aL+Kq4lm+MoD+f3hDiOdAByNqIEU1LU7tnMpQHbKSYSoVHlySF1+tuw3O1E4HQO45 heuzef@x240" >> /home/allo-gg/.ssh/authorized_keys |
|
|
|
|
|
|
|
# Installation de Allo-GG |
|
|
|
rm -vf /var/www/html/index.html |
|
|
|
chown -R allo-gg:allo-gg /var/www/html/ |
|
|
|