Re: password encryption - Mailing list pgsql-sql

From Roderick A. Anderson
Subject Re: password encryption
Date
Msg-id Pine.LNX.4.04.10007211027480.14805-100000@asgard.altoplanos.net
Whole thread Raw
In response to password encryption  ("Silesky Marketing Inc, Support" <support@silesky.com>)
Responses Re: password encryption  (Aaron Sethman <androsyn@ratbox.org>)
List pgsql-sql
On Fri, 21 Jul 2000, Silesky Marketing Inc, Support wrote:

> Hello,
>
> I want to encrypt passwords with Postgresql the way mySQL does it with :
>
> UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';

Check out the ALTER command.

ALTER USER username
    [ WITH PASSWORD 'password' ]
    [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
    [ VALID UNTIL 'abstime' ]


Rod
--
Roderick A. Anderson
raanders@altoplanos.net               Altoplanos Information Systems, Inc.
Voice: 208.765.6149                            212 S. 11th Street, Suite 5
FAX: 208.664.5299                                  Coeur d'Alene, ID 83814


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timestamp indexes
Next
From: "Mitch Vincent"
Date:
Subject: Re: Timestamp indexes