Received: from mail.tgd.net (unknown [209.81.25.10]) by postgresql.org (Postfix) with ESMTP id 67E1B4759AF for ; Mon, 4 Mar 2002 23:16:43 -0500 (EST) Received: by mail.tgd.net (Postfix, from userid 1001) id 6D43520F07; Mon, 4 Mar 2002 20:16:42 -0800 (PST) Date: Mon, 4 Mar 2002 20:16:42 -0800 From: Sean Chittenden To: Chris Bowlby Cc: pgsql-general@postgresql.org Subject: Re: [ADMIN] password change... Message-ID: <20020304201642.H58596@ninja1.internal> References: <20020226160714.M3072-100000@wired.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020226160714.M3072-100000@wired.hub.org>; from "excalibur@hub.org" on Tue, Feb 26, 2002 at = 04:08:50PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ X-Archive-Number: 200203/166 X-Sequence-Number: 21547 > 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