File "config_sms.txt"
Full Path: /home/analogde/www/RaspBerry/config_sms.txt
File size: 1.77 KB
MIME-type: text/plain
Charset: utf-8
https://smsapi.free-mobile.fr/sendmsg ?user=ID_ESPACE_ABONNE_FREEMOBILE&pass=CLE_IDENTIFICATION_AU_SERVICE&
to=+33NUMERO_PORTABLE_A_JOINDRE&msg=Hello%20World%20 !
Identifiant : 23278829
Mot de passe : x1w91hEi
clé: k8lEWAPJXCvmS4
https://smsapi.free-mobile.fr/sendmsg?user=23278829&pass=k8lEWAPJXCvmS4&msg=Hello%20World%20!
cd /var/www
chown -R www-data: *
http://blogmotion.fr/systeme/executer-un-script-shell-avec-permission-root-en-php-1312
http://www.fobec.com/tuto/1122/executer-une-commande-linux-via-une-page-php.html
www-data utilisateur et groupe
etc/sudousers
root ALL=(ALL) ALL
...
# autoriser la fonction iptable
www-data ALL=NOPASSWD: /sbin/iptables
# autoriser le redemarrage d'Apache
www-data ALL=NOPASSWD: /sbin/service apache2 restart
# autoriser un script shell
www-data ALL=NOPASSWD: /path/script.sh
#autoriser toutes les actions
www-data ALL=NOPASSWD:ALL
http://mon-serveur.anael.eu/doku.php/apache/securisation
/etc/apache2/apache2.conf
# Utilisateur et Group sous lesquels les processus du serveur seront lancés
User www-data
Group www-data
http://www.memoinfo.fr/configuration-apache-2.html
usermod -G shadow www-data
usermod -G www-data sheebypanda
chown -R www-data /var/www/html/glpi
chown www-data:www-data /var/www/monsite.com -R
su -c
expect
www-data ALL=(ALL) NOPASSWD: ALL
************************************************************
sudo nano /etc/apache2/sites-enabled/000-default
AllowOverride All
# autoriser un script shell
www-data ALL=NOPASSWD: /path/script.sh
#autoriser toutes les actions
www-data ALL=(ALL) NOPASSWD: ALL
http://www.instructables.com/file/FF4ZON2H2WER6A1
sudo groupadd www-data
sudo usermod -g www-data ww-data
http://raspberrypi.werquin.com/post/43645313109/initial-setup-of-the-raspberry-pi-out-of-the-box