Re: Change user password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 5, 2008 at 8:42 AM, Dan Scott <danieljamesscott@xxxxxxxxx> 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.

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux