From: | Andreas Seltenreich <seltenreich(at)gmx(dot)de> |
---|---|
To: | <pgsql-de-allgemein(at)postgresql(dot)org>, <pgusers(at)postgres(dot)de> |
Subject: | Re: User Zugriffe ueber tcp |
Date: | 2005-04-19 15:55:17 |
Message-ID: | 87pswqlq1m.fsf@gate450.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-de-allgemein |
Frank Habermann schrob:
> der betreffende abschnitt in der pg_hba.conf schaut so aus:
> host all all 127.0.0.1 255.0.0.0 trust
Also ich hab' nun genau diese Zeile in eine test-pg_hba.conf gesteckt,
und die Verbindung wird wie dokumentiert ohne Passwortabfrage
hergestellt:
--8<---------------cut here---------------start------------->8---
$ echo host all all 127.0.0.1/32 trust > data/pg_hba.conf
$ pg_ctl -D data/ -o -p6666 start
$ psql -h 127.0.0.1 -p 6666 template1
Welcome to psql 8.1devel, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
template1=# \q
--8<---------------cut here---------------end--------------->8---
nun trust in md5 geändert, und ich werde wie erwartet nach dem
Passwort gefragt:
--8<---------------cut here---------------start------------->8---
$ echo host all all 127.0.0.1/32 md5 > data/pg_hba.conf
$ pg_ctl -D data/ -o -p6666 restart
$ psql -h 127.0.0.1 -p 6666 template1
Password:
Welcome to psql 8.1devel, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
template1=# \q
--8<---------------cut here---------------end--------------->8---
> ich habe das getestet unter debian woody und sarge mit pgaccess und
> phppgadmin.
Das Problem konnte ich auch mit pgaccess nicht reproduzieren, sonst
hätte ich empfohlen, mal auf deren Mailinglisten nachzufragen.
HTH
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2005-04-19 16:15:36 | Re: Frage zu INSERT mit mehreren FKs |
Previous Message | Andreas Kretschmer | 2005-04-19 14:19:56 | Re: [despammed] Frage zu INSERT mit mehreren FKs |