pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[GENERAL] password change...
2+ messages / 2 participants
[nested] [flat]

* [GENERAL] password change...
@ 2002-02-26 20:08  Chris Bowlby <excalibur@hub.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Chris Bowlby @ 2002-02-26 20:08 UTC (permalink / raw)
  To: pgsql-general@postgresql.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....?


 Chris Bowlby,
 -----------------------------------------------------
 Web Developer @ Hub.org.
 excalibur@hub.org
 www.hub.org
 1-902-542-3657
 -----------------------------------------------------


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [ADMIN] password change...
@ 2002-03-05 04:16  Sean Chittenden <sean@chittenden.org>
  parent: Chris Bowlby <excalibur@hub.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Sean Chittenden @ 2002-03-05 04:16 UTC (permalink / raw)
  To: Chris Bowlby <excalibur@hub.org>; +Cc: pgsql-general@postgresql.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-03-05 04:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 20:08 [GENERAL] password change... Chris Bowlby <excalibur@hub.org>
2002-03-05 04:16 ` Sean Chittenden <sean@chittenden.org>

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