Modifying users password in pg_shadow from php

From: Együd Csaba <csegyud(at)vnet(dot)hu>
To: "Pgsql-General(at)Postgresql(dot)Org" <pgsql-general(at)postgresql(dot)org>
Subject: Modifying users password in pg_shadow from php
Date: 2004-09-25 15:40:27
Message-ID: 0I4L00M0GSVB6C@mail.vnet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,
I'm wonder if there is any possibility to modify a users password by
updating the pg_shadow table.
I'd like to ensure that when the user modifies his/her http password
(htpasswd) than his database password also changes. It is important to have
the same password for both services. I plan to do it from php.

Is there any way to do so?

Thans,
-- Csaba Együd

---
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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kundham Saare 2004-09-25 15:44:18 Re: figuring out if there was a transaction in this connection already
Previous Message Michael Fuhr 2004-09-25 14:59:17 Re: figuring out if there was a transaction in this connection already