]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,
Pennsylvania19026