-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,
Je suis actuellement sous SuSE 9.0 avec la version 7.3.4 de Postgres.
J'ai fait les manip suivantes :
/etc/init.d/postgres start -> OK
su postgres -> OK
createuser  -P root
Enter password for user 'root' : xxxxxx
enter it again: xxxxx
Shall the new user be allowed to create databases ? y ->OK
Shall the new user be allowed to create more new users ? y -> OK
psql template1 ->OK
template1=#ALTER USER postgres WITH ENCRYPTED PASSWORD 'mot_de_passe' ; -> OK
template1=#ALTER USER root WITH ENCRYPTED PASSWORD 'mot_de_passe' ; -> OK
template1=#\q -> OK

Modification de pg_hba.conf
local all  all md5
host all all 127.0.0.1 255.255.255.255 md5
host all all w.x.y.z w.x.y.z md5

je me déconnecte de l'utilisateur postgres 
je me log root pour  arreter et relancer postgres
/etc/init.d/postgres stop -> OK
/etc/init.d/postgres start -> Demande un password ???
Pourtant je suis root. Je met celui de postgres et ca démarre.

Le probleme est que lorsque la machine démarre, le processus reste bloqué sur 
l'execution de Postgres. Je suppose que le mot de passe est demandé en 
background.
Par contre si je modifie le parametre local de pg_hba.conf avec les valeurs 
suivantes
local all all trust
Ca fonctionne, Mais c'est pas prudent
Pourquoi je ne peux pas mettre md5 à la ligne local du fichier pg_hba.conf ?


- -- 
Fabien CHAUDIER
INSA - Département Biosciences
11 avenue Jean Capelle
69621 VILLEURBANNE CEDEX
Tél. : 04.72.43.89.96
Fax. : 04.72.43.85.11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAReCWONCEch5ezCYRAoERAJ44aY/osGlkwAcp9x+wxqWnKSZ7qQCfQBUz
sf8LjkyGEYdGjBNsbBXb/d4=
=7CHL
-----END PGP SIGNATURE-----


_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: chat.unixtech.be:6667 - #unixtech

Répondre à