| From: | Sean Chittenden <sean(at)chittenden(dot)org> |
|---|---|
| To: | Chris Bowlby <excalibur(at)hub(dot)org> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: [ADMIN] password change... |
| Date: | 2002-03-05 04:16:42 |
| Message-ID: | 20020304201642.H58596@ninja1.internal |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-03-05 06:41:10 | Re: index item size 4496 exceeds maximum 2713 |
| Previous Message | Eric Scroger | 2002-03-05 00:36:56 | Re: SEMMNI,SEMMNS config for posgres 7.1 under Solaris |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Darren Ferguson | 2002-03-05 04:23:00 | Re: Help with SET TRANSACTION in a function |
| Previous Message | Stephan Szabo | 2002-03-05 04:05:11 | Re: Help with SET TRANSACTION in a function |