Re: [SQL] password encryption

From: "Roderick A(dot) Anderson" <raanders(at)altoplanos(dot)net>
To: "Silesky Marketing Inc, Support" <support(at)silesky(dot)com>
Cc: pgsql <pgsql-sql(at)postgresql(dot)org>, pggeneral <pgsql-general(at)postgresql(dot)org>
Subject: Re: [SQL] password encryption
Date: 2000-07-21 17:30:20
Message-ID: Pine.LNX.4.04.10007211027480.14805-100000@asgard.altoplanos.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)altoplanos(dot)net Altoplanos Information Systems, Inc.
Voice: 208.765.6149 212 S. 11th Street, Suite 5
FAX: 208.664.5299 Coeur d'Alene, ID 83814

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert D. Nelson 2000-07-21 17:50:00 RE: Trouble with RPM
Previous Message mjp 2000-07-21 17:22:05 Re: Emulating "\d" Output

Browse pgsql-sql by date

  From Date Subject
Next Message Mitch Vincent 2000-07-21 17:40:19 Re: Timestamp indexes
Previous Message Tom Lane 2000-07-21 17:26:09 Re: Timestamp indexes