pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgresql authentication
3+ messages / 2 participants
[nested] [flat]
* postgresql authentication
@ 2002-05-01 19:55 Hal Lynch <hal@cc.usu.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Hal Lynch @ 2002-05-01 19:55 UTC (permalink / raw)
To: pgsql-admin
I want to require users to authenticate themselves by entering
a username and/or password when:
using the psql command
connecting to a database using the perl interface module.
I am doing this on my 7.1.2 system.
I am trying to do this on my 7.2.1 system.
I have used creatuser and pg_password.
my pg_hba.conf file has the following line:
local all password passwd
"select * from pg_shadow;" and "select * from pg_user;" shows
the users I have added but "psql template1" still does not
require a username and/or password.
I have checked the pertinent (I think) parts of the book
"PostgreSQL Introduction and Concepts" and the administrators guide
on the web site.
Can some kind soul give me a clue how to do it, or where to look
for instructions?
hal
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: postgresql authentication
@ 2002-05-01 22:09 Jean-Michel POURE <jm.poure@freesurf.fr>
parent: Hal Lynch <hal@cc.usu.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Michel POURE @ 2002-05-01 22:09 UTC (permalink / raw)
To: Hal Lynch <hal@cc.usu.edu>; pgsql-admin
Le Mercredi 1 Mai 2002 21:55, Hal Lynch a écrit :
> Can some kind soul give me a clue how to do it, or where to look
> for instructions?
Did you restart PostgreSQL service to reload pg_hba.conf?
"service postgresql restart"
Just my two cents,
Jean-Michel POURE
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: postgresql authentication
@ 2002-05-01 22:43 Hal Lynch <hal@cc.usu.edu>
parent: Jean-Michel POURE <jm.poure@freesurf.fr>
0 siblings, 0 replies; 3+ messages in thread
From: Hal Lynch @ 2002-05-01 22:43 UTC (permalink / raw)
To: pgsql-admin
On Wednesday, May 1, 2002, at 04:09 PM, Jean-Michel POURE wrote:
> Did you restart PostgreSQL service to reload pg_hba.conf?
> "service postgresql restart"
Of course not?! :^}
Thanks, worked like a charm.
hal, the simple.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-05-01 22:43 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-01 19:55 postgresql authentication Hal Lynch <hal@cc.usu.edu>
2002-05-01 22:09 ` Jean-Michel POURE <jm.poure@freesurf.fr>
2002-05-01 22:43 ` Hal Lynch <hal@cc.usu.edu>
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