Re: Modifying users password in pg_shadow from php

From: Együd Csaba (Freemail) <csegyud(at)freemail(dot)hu>
To: 'Michael Fuhr' <mike(at)fuhr(dot)org>, 'Egy?d Csaba' <csegyud(at)vnet(dot)hu>
Cc: "'Pgsql-General(at)Postgresql(dot)Org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Modifying users password in pg_shadow from php
Date: 2004-09-25 16:13:48
Message-ID: 0I4L00N4TUEW1D@mail.vnet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ohhhhhh thanks. what a stupid i am. ....:)))

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Michael Fuhr
Sent: Saturday, September 25, 2004 5:56 PM
To: Egy?d Csaba
Cc: Pgsql-General(at)Postgresql(dot)Org
Subject: Re: [GENERAL] Modifying users password in pg_shadow from php

On Sat, Sep 25, 2004 at 05:40:27PM +0200, Egy?d Csaba wrote:
> I'm wonder if there is any possibility to modify a users password by
> updating the pg_shadow table.

Why not use ALTER USER?

http://www.postgresql.org/docs/7.4/static/sql-alteruser.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com)
Version: 6.0.766 / Virus Database: 513 - Release Date: 2004.09.17.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com)
Version: 6.0.766 / Virus Database: 513 - Release Date: 2004.09.17.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2004-09-25 16:41:51 Re: cvs update: waiting for anoncvs's lock
Previous Message Michael Fuhr 2004-09-25 15:56:27 Re: Modifying users password in pg_shadow from php