From: Sean Chittenden <sean@chittenden.org>
To: Chris Bowlby <excalibur@hub.org>
Cc: pgsql-general@postgresql.org
Subject: Re: [ADMIN] password change...
Date: Mon, 4 Mar 2002 20:16:42 -0800
Message-ID: <20020304201642.H58596@ninja1.internal> (raw)
In-Reply-To: <20020226160714.M3072-100000@wired.hub.org>
References: <20020226160714.M3072-100000@wired.hub.org>
> Hmmm hi all,
>
> Alright I've GOT to be blind (knowing me it's a good possibility)... but
> I have a need to allow postgresql users to be able to change their own
> password, but if they don't have access to the pg_shadow or update user
> command how to I grant them this privilage and/or what command would
> they run....?
$ psql -q template1
template1=# \h ALTER USER
Command: ALTER USER
Description: change a database user account
Syntax:
ALTER USER username [ [ WITH ] option [ ... ] ]
where option can be:
[ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
| CREATEDB | NOCREATEDB
| CREATEUSER | NOCREATEUSER
| VALID UNTIL 'abstime'
--
Sean Chittenden
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sean@chittenden.org, excalibur@hub.org, pgsql-general@postgresql.org
Subject: Re: [ADMIN] password change...
In-Reply-To: <20020304201642.H58596@ninja1.internal>
References: <20020226160714.M3072-100000@wired.hub.org> <20020304201642.H58596@ninja1.internal>
* 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