From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Eduardo Gargiulo <ejg-pgsql@ar.homelinux.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_shadow password
Date: Sat, 27 Apr 2002 01:33:12 -0400 (EDT)
Message-ID: <200204270533.g3R5XCF27542@candle.pha.pa.us> (raw)
In-Reply-To: <20020427042855.GA32426@masq.ingdesi.net>
]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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, ejg-pgsql@ar.homelinux.org
Subject: Re: pg_shadow password
In-Reply-To: <200204270533.g3R5XCF27542@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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