IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Apache Discussion :

CGI avec droits root


Sujet :

Apache

  1. #1
    Membre du Club
    Inscrit en
    Juillet 2005
    Messages
    67
    Détails du profil
    Informations forums :
    Inscription : Juillet 2005
    Messages : 67
    Points : 53
    Points
    53
    Par défaut CGI avec droits root
    Hello,

    je cherche à éxécuter un cgi avec des droits root. Je sais qu'il existe suexec, mais je ne comprends pas trop comment l'employer. Quelqu'un a des précisions ou une autre technique ?

    Mon fichier default-server.conf

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
     
    # 
    # Global configuration that will be applicable for all virtual hosts, unless # deleted here, or overriden elswhere. 
    # 
     
    DocumentRoot "/srv/www/htdocs" 
     
    # 
    # Configure the DocumentRoot 
    # 
    <Directory "/srv/www/htdocs"> 
       # Possible values for the Options directive are "None", "All", 
       # or any combination of: 
       #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 
       # 
       # Note that "MultiViews" must be named *explicitly* --- "Options All" 
       # doesn't give it to you. 
       # 
       # The Options directive is both complicated and important.  Please see 
       # http://httpd.apache.org/docs-2.0/mod/core.html#options 
       # for more information. 
       Options None 
       # AllowOverride controls what directives may be placed in .htaccess files. 
       # It can be "All", "None", or any combination of the keywords: 
       #   Options FileInfo AuthConfig Limit 
       AllowOverride None 
       # Controls who can get stuff from this server. 
       Order allow,deny 
       Allow from all 
    </Directory> 
     
    # Aliases: aliases can be added as needed (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL.  So "/icons" isn't aliased in this # example, only "/icons/".  If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. 
    # 
    # We include the /icons/ alias for FancyIndexed directory listings.  If you # do not use FancyIndexing, you may comment this out. 
    # 
    Alias /icons/ "/usr/share/apache2/icons/" 
     
    <Directory "/usr/share/apache2/icons"> 
       Options Indexes MultiViews 
       AllowOverride None 
       Order allow,deny 
       Allow from all 
    </Directory> 
     
    # ScriptAlias: This controls which directories contain server scripts. 
    # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. 
    # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. 
    # 
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" 
     
    # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. 
    # 
    <Directory "/var/www/cgi-bin"> 
       AllowOverride None 
       Options +ExecCGI -Includes 
       Order allow,deny 
       Allow from all 
    </Directory> 
     
    # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. 
    # 
    # To disable it, simply remove userdir from the list of modules in APACHE_MODULES # in /etc/sysconfig/apache2. 
    # 
    <IfModule mod_userdir.c> 
       # Note that the name of the user directory ("public_html") cannot simply be 
       # changed here, since it is a compile time setting. The apache package 
       # would have to be rebuilt. You could work around by deleting 
       # /usr/sbin/suexec, but then all scripts from the directories would be 
       # executed with the UID of the webserver. 
       UserDir public_html 
       # The actual configuration of the directory is in 
       # /etc/apache2/mod_userdir.conf. 
       Include /etc/apache2/mod_userdir.conf 
       # You can, however, change the ~ if you find it awkward, by mapping e.g. 
       # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/ 
       #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2 </IfModule> 
     
     
    # Include all *.conf files from /etc/apache2/conf.d/. 
    # 
    # This is mostly meant as a place for other RPM packages to drop in their 
    # configuration snippet. 
    # 
    # You can comment this out here if you want those bits include only in a 
    # certain virtual host, but not here. 
    # 
    Include /etc/apache2/conf.d/*.conf 
     
    # The manual... if it is installed ('?' means it won't complain) 
    Include /etc/apache2/conf.d/apache2-manual?conf

  2. #2
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    avec les droits root... ben

  3. #3
    Membre du Club
    Inscrit en
    Juillet 2005
    Messages
    67
    Détails du profil
    Informations forums :
    Inscription : Juillet 2005
    Messages : 67
    Points : 53
    Points
    53
    Par défaut Re
    Salut à toi gorgonite !
    Merci bien de ton intérêt et de ta réponse, cela fait toujours plaisir une réponse ;-)

    Néanmoins je ne comprends pas bien ou je dois placer ta ligne vu qu'elle se trouve déjà dans mon default-server.conf et que le script s'exécute en wwwrun.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    <Directory "/var/www/cgi-bin"> 
       AllowOverride None 
       Options +ExecCGI -Includes 
       Order allow,deny 
       Allow from all 
    </Directory>
    Est-ce que tu aurais plus de précision ?

  4. #4
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    dsl... pas lu, c'était trop long


    ben non, je vois pas alors... regardes les logs


    quelle est l'erreur renvoyée ?

  5. #5
    Membre du Club
    Inscrit en
    Juillet 2005
    Messages
    67
    Détails du profil
    Informations forums :
    Inscription : Juillet 2005
    Messages : 67
    Points : 53
    Points
    53
    Par défaut
    No prob je sais que ce n'est pas des plus agréable à lire

    Pour répondre à ta question, il n'y a pas d'erreur, mais lorsque je fais un ps -aux | grep apache, je vois le process principal sous le user root, et tous les autres en wwwrun.

    Le script qui n'est autre que le le "webmail" de la plate-frome VoIP Asterisk, n'arrive pas à lire des fichiers et des répertoires ayant été créés par le user root avec les droits 700 et 600. Ces derniers se créer dynamiquerment donc pas de modif de droits manuelles possible. Je suis en train de chercher s'il y a moyen de modifier ces droits à la création, mais cela semble pénible.

    Si tu as encore une idée pour moi je suis + que preneur !

    Un grand merci pour ton investissement

  6. #6
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    es-tu sûr que rien ne foire dans /var/log/http/access.log

  7. #7
    Membre du Club
    Inscrit en
    Juillet 2005
    Messages
    67
    Détails du profil
    Informations forums :
    Inscription : Juillet 2005
    Messages : 67
    Points : 53
    Points
    53
    Par défaut Re
    Re,

    Alors voici le contenu du fichier :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
     
     
    127.0.0.1 - - [12/Oct/2006:13:51:11 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:08 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:12 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:11 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:16 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311"
    127.0.0.1 - - [12/Oct/2006:13:51:16 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1195 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311"
    127.0.0.1 - - [12/Oct/2006:13:51:17 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:13:51:20 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1833 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:22 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311"
    127.0.0.1 - - [12/Oct/2006:13:51:22 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1195 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311"
    127.0.0.1 - - [12/Oct/2006:13:51:28 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1845 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:31 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1321 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:40 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1845 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:51:50 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:54:10 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:13:54:16 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:13:59:23 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:59:26 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:59:33 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:59:32 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 939 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:13:59:43 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1833 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:01:37 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:01:37 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 939 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:02:34 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:02:33 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:02:38 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1833 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:04:33 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1834 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:04:37 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1834 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:00 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:01 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:03 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:26 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:27 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:05:30 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:06:10 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:06:13 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:06:27 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1856 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:06:49 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1854 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:07:10 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:07:12 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:07:15 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:13:58 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:14:00 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:14:01 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1853 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:14:04 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:14:03 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 939 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:14:11 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 1836 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:15:36 +0200] "GET /_asterisk/play.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:15:36 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 3660 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [12/Oct/2006:14:33:16 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:33:20 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:56:46 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:14:56:50 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:15:09:50 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [12/Oct/2006:16:51:04 +0200] "HEAD /cgi-bin/vmail.cgi HTTP/1.1" 200 - "-" "gnome-vfs/2.12.2 neon/0.24.7"
    127.0.0.1 - - [17/Oct/2006:13:39:32 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:13:39:31 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:13:39:40 +0200] "GET /_asterisk/play.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:13:39:40 +0200] "GET /_asterisk/play.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:13:39:39 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 6863 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:14:10:29 +0200] "GET /cgi-bin/vmail.cgi HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:14:10:30 +0200] "GET /_asterisk/animlogo.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:14:10:36 +0200] "GET /_asterisk/play.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:14:10:37 +0200] "GET /_asterisk/play.gif HTTP/1.1" 404 1298 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"
    127.0.0.1 - - [17/Oct/2006:14:10:36 +0200] "POST /cgi-bin/vmail.cgi HTTP/1.1" 200 6863 "http://localhost/cgi-bin/vmail.cgi" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.9 Firefox/1.5.0.4"

  8. #8
    Membre du Club
    Inscrit en
    Juillet 2005
    Messages
    67
    Détails du profil
    Informations forums :
    Inscription : Juillet 2005
    Messages : 67
    Points : 53
    Points
    53
    Par défaut
    Hello,

    finalement je me suis arrangé pour modifier les droits de tout les fichiers auquels devait accéder le script CGI au moyen des ACL.

    Et hop ça c'est fait !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Utilisateur avec droits root et quelques commandes
    Par ganjaaw dans le forum Sécurité
    Réponses: 7
    Dernier message: 23/12/2012, 23h32
  2. Réponses: 7
    Dernier message: 24/02/2012, 14h04
  3. Lancement d'un script avec les droits root
    Par sellfe dans le forum Solaris
    Réponses: 2
    Dernier message: 30/10/2009, 17h19
  4. Gestion utilisateurs avec droits
    Par dr_look dans le forum Décisions SGBD
    Réponses: 1
    Dernier message: 27/04/2005, 16h03
  5. Creation d'une fonction temporaire avec droit datareader
    Par Bjuice2 dans le forum MS SQL Server
    Réponses: 5
    Dernier message: 26/10/2004, 14h26

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo