Re: [ADMIN] password change... - Mailing list pgsql-general

From Sean Chittenden
Subject Re: [ADMIN] password change...
Date
Msg-id 20020304201642.H58596@ninja1.internal
Whole thread Raw
In response to password change...  (Chris Bowlby <excalibur@hub.org>)
Responses Foxpro
List pgsql-general
> 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

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Help with SET TRANSACTION in a function
Next
From: "otisg"
Date:
Subject: Re: Help with SET TRANSACTION in a function