From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Eduardo Gargiulo <ejg-pgsql(at)ar(dot)homelinux(dot)org> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: pg_shadow password |
Date: | 2002-04-27 05:33:12 |
Message-ID: | 200204270533.g3R5XCF27542@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2002-04-27 18:15:21 | Re: Function won't complete |
Previous Message | Eduardo Gargiulo | 2002-04-27 04:28:55 | pg_shadow password |