pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPassword file for autent
2+ messages / 1 participants
[nested] [flat]
* Password file for autent
@ 2001-07-18 14:47 Edipo Elder Fernandes de Melo <edipoelder@ig.com.br>
0 siblings, 0 replies; 2+ messages in thread
From: Edipo Elder Fernandes de Melo @ 2001-07-18 14:47 UTC (permalink / raw)
To: pgsql-admin
Ave all Admins,
I searched the list for before this, but i didn't find an answer. I'm
doing all as the script (i think) and I don't get autentication to user. My
pg_hab.conf is (10.3.128.222 is the localhost):
local all password
host all 127.0.0.1 255.255.255.255 password
host teste 127.0.0.1 255.255.255.255 password users
host teste 10.3.128.222 255.255.255.255 password users
local teste password users
The file "users" is located at /home/pgsql/pgdata/ directory. I made it
with pg_passwd. (user mane, password mane). The server startup fine. The
$PGDATA is set to /home/pgsql/pgdata.
and "psql teste mane" give me "psql: Password authentication failed for
user 'mane'". The server is 7.1.2 running under Linux.
What is wrong?
Abracos,
Edipo Elder
[edipoelder@ig.com.br]
_________________________________________________________
Oi! Você quer um iG-mail gratuito?
Então clique aqui: http://registro.ig.com.br/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Password file for autent
@ 2001-07-19 12:19 Edipo Elder Fernandes de Melo <edipoelder@ig.com.br>
0 siblings, 0 replies; 2+ messages in thread
From: Edipo Elder Fernandes de Melo @ 2001-07-19 12:19 UTC (permalink / raw)
To: pgsql-admin
Em 19 Jul 2001, Rashid N. Achilov escreveu:
>> local all password
>psql tried to check password user 'mane' by system table pg_shadow instead
>of
>the file users. You have to change first line to "local all password users"
But I was planing use the file "users" to autenticate only users of
database "teste", and pg_shadow continues autenticate other users. This is
possible?
Abracos,
Edipo Elder
[edipoelder@ig.com.br]
_________________________________________________________
Oi! Você quer um iG-mail gratuito?
Então clique aqui: http://registro.ig.com.br/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-07-19 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-18 14:47 Password file for autent Edipo Elder Fernandes de Melo <edipoelder@ig.com.br>
2001-07-19 12:19 Re: Password file for autent Edipo Elder Fernandes de Melo <edipoelder@ig.com.br>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox