ps aux | grep 'httpd|apache'et
grep -iE '(user|group) ' /chemin/vers/httpd.conf
ps aux | grep 'htt'En revanche dans ton fichier de configuration je vois que tu as nobody et nogroup
User webuser Group webgroup
root 4969 0.0 3.0 14120 7956 ? Ss 08:42 0:00 /usr/local/httpd/bin/httpd -k start daemon 4983 0.0 2.7 14120 7128 ? S 08:42 0:00 /usr/local/httpd/bin/httpd -k start daemon 4984 0.0 2.7 14120 7128 ? S 08:42 0:00 /usr/local/httpd/bin/httpd -k start daemon 4985 0.0 2.7 14120 7128 ? S 08:42 0:00 /usr/local/httpd/bin/httpd -k start daemon 4986 0.0 2.7 14120 7128 ? S 08:42 0:00 /usr/local/httpd/bin/httpd -k start daemon 4987 0.0 2.7 14120 7128 ? S 08:42 0:00 /usr/local/httpd/bin/httpd -k start
groupadd webgroup useradd -g webgroup webuser -s /bin/false
User webuser Group webgroupensuite rédemarre ton serveur
/opt/lamp/bin/httpd restart ps aux |grep 'htt'
# If you wish httpd to run as a different user or group, you must run # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for User nobody Group nogroup # User home directoriesben, tu dois avoir ça
# If you wish httpd to run as a different user or group, you must run # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for User webuser Group webgroup # User home directoriesDonc avec un editeur de texte tu fais les modifications
chgrp -v webgroup /opt/lampp/bin/httpd chmod -v 2755 /opt/lampp/bin/httpdVoir aussi les droits pour les logs
1. montage de la partition avec l'option acl 2. installation de paquet acl 3. setfacl -m user:webuser:4755 /opt/lampp/bin/httpd
Vous n'aimez pas le lifting de Facebook ? Le site Mashable propose cinq étapes pour revenir à l'ancienne présentation du réseau social.
admin@GRR:~$ ps aux | grep 'httpd|apache'
admin 2280 0.0 0.3 3316 704 pts/0 S+ 10:48 0:00 grep httpd|apache
admin@GRR:~$ grep -iE '(user|group) ' /opt/lampp/etc/httpd.conf
# If you wish httpd to run as a different user or group, you must run
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
User nobody
Group nogroup
# User home directories
admin@GRR:~$