pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_shadow password
2+ messages / 2 participants
[nested] [flat]
* pg_shadow password
@ 2002-04-27 04:28 Eduardo Gargiulo <ejg-pgsql@ar.homelinux.org>
2002-04-27 05:33 ` Re: pg_shadow password Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Gargiulo @ 2002-04-27 04:28 UTC (permalink / raw)
To: pgsql-sql
Hi all, this is my first message to the list.
My question is how can i hide or encrypt the passwd field in pg_shadow?
I remember some PASSWORD() function to do that in old versions of
pgsql, but it didn't work on my db. (7.0.2)
TIA
--
Eduardo Gargiulo
ejg @ ar.homelinux.org
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_shadow password
2002-04-27 04:28 pg_shadow password Eduardo Gargiulo <ejg-pgsql@ar.homelinux.org>
@ 2002-04-27 05:33 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2002-04-27 05:33 UTC (permalink / raw)
To: Eduardo Gargiulo <ejg-pgsql@ar.homelinux.org>; +Cc: pgsql-sql
]Eduardo Gargiulo wrote:
Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> Hi all, this is my first message to the list.
>
> My question is how can i hide or encrypt the passwd field in pg_shadow?
> I remember some PASSWORD() function to do that in old versions of
> pgsql, but it didn't work on my db. (7.0.2)
Use CREATE/ALTER USER username WITH ENCRYPTED PASSWORD 'test';
^^^^^^^^^
or change the postgresql.conf variable:
password_encryption = true
and passwords will be stored encrypted without the ENCRYPTED keyword.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-04-27 05:33 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-27 04:28 pg_shadow password Eduardo Gargiulo <ejg-pgsql@ar.homelinux.org>
2002-04-27 05:33 ` Bruce Momjian <pgman@candle.pha.pa.us>
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