Received: from int-mail.syd.fl.net.au (int-mail.syd.fl.net.au [202.181.0.28]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f031YV724938 for ; Tue, 2 Jan 2001 20:34:31 -0500 (EST) (envelope-from als@fl.net.au) Received: from Avon (avon.snowville.fl.net.au [202.181.1.250]) by int-mail.syd.fl.net.au (Postfix) with SMTP id 7D6BE16817; Wed, 3 Jan 2001 12:35:07 +1100 (EST) From: "Andrew Snow" To: "SRINIVASARAGHAVAN, RAJESH (HP-Cupertino, ex1)" Cc: Subject: RE: programmatic interface into admin Date: Wed, 3 Jan 2001 12:35:05 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <87FB8F5CE210D311B60500A0C9F4871C087C6CEA@xcup01.cup.hp.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Archive-Number: 200101/13 X-Sequence-Number: 383 > 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