pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Snow <als@fl.net.au>
To: SRINIVASARAGHAVAN, RAJESH (HP-Cupertino, ex1) <rajesh_srinivasaraghavan@am.exch.hp.com>
Cc: pgsql-admin@postgresql.org
Subject: RE: programmatic interface into admin
Date: Wed, 3 Jan 2001 12:35:05 +1100
Message-ID: <JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au> (raw)
In-Reply-To: <87FB8F5CE210D311B60500A0C9F4871C087C6CEA@xcup01.cup.hp.com>


> 2. Can I programmatically modify the user's password on the
> postgres system.
> Is the password of the user stored in any other place other than the
> password file specified in my data directory. Is it a crypt function that
> generates the password and stores it in the password file. The obvious
> solution to the problem is to use a series of expects with perl on the
> remote system.


Please see the Postgres User's docs. There are SQL queries provided to
CREATE and DROP users, tables, and set a user's password.


- Andrew




view thread (3+ messages)

Message-ID: <JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au>
Permalink:  ../JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au/
Also on:    postgresql.org/message-id/JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: als@fl.net.au, rajesh_srinivasaraghavan@am.exch.hp.com
  Subject: Re: programmatic interface into admin
  In-Reply-To: <JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au>
  References: <87FB8F5CE210D311B60500A0C9F4871C087C6CEA@xcup01.cup.hp.com> <JEEGIJPOJIGGIIHGKOKOOEHICHAA.als@fl.net.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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