pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedChange user password
4+ messages / 4 participants
[nested] [flat]
* Change user password
@ 2008-12-05 15:42 Dan Scott <danieljamesscott@gmail.com>
2008-12-10 04:34 ` Re: Change user password Quan Zongliang <quanzongliang@gmail.com>
2008-12-10 04:43 ` Re: Change user password Scott Marlowe <scott.marlowe@gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: Dan Scott @ 2008-12-05 15:42 UTC (permalink / raw)
To: pgsql-admin
Hi,
Is is possible to modify a user password using a command line script?
I know about the ALTER USER command from within the client, but this
looks like it's quite insecure, storing the password in the history. I
know it's possible to insert the encrypted password with ALTER USER
but that means generating the hash elsewhere. A simple 'alteruser -P
username' which then prompts for the user password would be nice. Does
this exist?
Thanks,
Dan Scott
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Change user password
2008-12-05 15:42 Change user password Dan Scott <danieljamesscott@gmail.com>
@ 2008-12-10 04:34 ` Quan Zongliang <quanzongliang@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Quan Zongliang @ 2008-12-10 04:34 UTC (permalink / raw)
To: Dan Scott <danieljamesscott@gmail.com>; +Cc: pgsql-admin
Hi, Scott
It seems no such command exists.
-----------------------------------------------
Quan Zongliang
quanzongliang@gmail.com
CIT Japan: http://www.cit.co.jp
CIT China: http://www.citbj.com.cn
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Change user password
2008-12-05 15:42 Change user password Dan Scott <danieljamesscott@gmail.com>
@ 2008-12-10 04:43 ` Scott Marlowe <scott.marlowe@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Scott Marlowe @ 2008-12-10 04:43 UTC (permalink / raw)
To: Dan Scott <danieljamesscott@gmail.com>; +Cc: pgsql-admin
On Fri, Dec 5, 2008 at 8:42 AM, Dan Scott <danieljamesscott@gmail.com> wrote:
> Hi,
>
> Is is possible to modify a user password using a command line script?
> I know about the ALTER USER command from within the client, but this
> looks like it's quite insecure, storing the password in the history. I
> know it's possible to insert the encrypted password with ALTER USER
> but that means generating the hash elsewhere. A simple 'alteruser -P
> username' which then prompts for the user password would be nice. Does
> this exist?
\password from the psql prompt does that.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Change user password
@ 2008-12-08 14:36 Daniel Scott <djscott@mit.edu>
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Scott @ 2008-12-08 14:36 UTC (permalink / raw)
To: pgsql-admin
Hi,
Is is possible to modify a user password using a command line script?
I know about the ALTER USER command from within the client, but this
looks like it's quite insecure, storing the password in the history. I
know it's possible to insert the encrypted password with ALTER USER
but that means generating the hash elsewhere. A simple 'alteruser -P
username' which then prompts for the user password would be nice. Does
this exist?
Thanks,
Dan Scott
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-12-10 04:43 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-12-05 15:42 Change user password Dan Scott <danieljamesscott@gmail.com>
2008-12-10 04:34 ` Quan Zongliang <quanzongliang@gmail.com>
2008-12-10 04:43 ` Scott Marlowe <scott.marlowe@gmail.com>
2008-12-08 14:36 Change user password Daniel Scott <djscott@mit.edu>
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