Project

General

Profile

Anomalie #2004

Utilisateur root sans le droit grant

Added by Emmanuel GARETTE (2) about 12 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
08/29/2011
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.3

Description

L'utilisateur root créé pour phpmyadmin à tous les droits sur la base de donnée mysql sauf ... grant.

Cela signifie qu'on ne peut pas creer de nouveaux utilisateurs depuis le conteneur web/phpmyadmin.

Est-ce voulu ?

Associated revisions

Revision 88054b6c (diff)
Added by Joël Cuissinat over 11 years ago

Droit GRANT pour l'utilisateur root de phpmyadmin en mode conteneur (fixes #2004 @15m)
  • eole/posttemplate/00-web : modification de la commande SQL utilisée

History

#1 Updated by Joël Cuissinat about 12 years ago

  • Target version set to Mises à jour 2.3 - 02 RC

#2 Updated by Joël Cuissinat about 12 years ago

  • Target version changed from Mises à jour 2.3 - 02 RC to Mises à jour 2.3 - 03 RC

Concerne le mode conteneur.

Visiblement le grant effectué n'est pas suffisant :

$ grep grant eole/posttemplate/00-web
    echo "grant all privileges on *.* to root@$adresse_ip_web" | mysql -h$adresse_ip_mysql -p$PWD

#3 Updated by Joël Cuissinat almost 12 years ago

  • Assigned To set to Emmanuel GARETTE
  • Estimated time set to 0.50 h
  • Distribution set to EOLE 2.3

#4 Updated by Joël Cuissinat almost 12 years ago

  • Status changed from Nouveau to En attente d'informations
  • Target version changed from Mises à jour 2.3 - 03 RC to Mises à jour 2.3.4 RC

#5 Updated by Daniel Dehennin almost 12 years ago

D’après la documentation MySQL le grant priviledges n’est pas automatique.

Il doit être attribué avec l’option with:

GRANT ALL ON *.* TO root@$adresse_ip_web WITH GRANT OPTION

#6 Updated by Joël Cuissinat over 11 years ago

  • Project changed from eole-mysql to eole-web

#7 Updated by Joël Cuissinat over 11 years ago

  • Status changed from En attente d'informations to Résolu
  • % Done changed from 0 to 100

#8 Updated by Fabrice Barconnière over 11 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF