Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EE7BC4762D2 for ; Tue, 8 Oct 2002 10:14:46 -0400 (EDT) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by postgresql.org (Postfix) with ESMTP id 914D0475F84 for ; Tue, 8 Oct 2002 10:14:45 -0400 (EDT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 17yv8I-0002DV-0U; Tue, 08 Oct 2002 15:14:47 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 50272162A2; Tue, 8 Oct 2002 15:04:44 +0100 (BST) Received: from client.archonet.com (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with ESMTP id 95C03161FC; Tue, 8 Oct 2002 15:04:43 +0100 (BST) Content-Type: text/plain; charset="iso-8859-1" From: Richard Huxton Organization: Archonet Ltd To: Elielson Fontanezi , pgsql-general Subject: Re: pg_dump command inside shell scripts Date: Tue, 8 Oct 2002 15:04:29 +0100 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210081504.29059.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/457 X-Sequence-Number: 31455 On Tuesday 08 Oct 2002 2:35 pm, Elielson Fontanezi wrote: > Hi Folks! > > Again I need a help from you! > > I have develop a shell script (seen below) to do dump and vaccum > automatically. > But now I need change the $PGDATA/*hba.conf file as it was originally > and > face the password prompt again. Do a search on "expect" - probably included with your system and designed f= or=20 this sort of interactive chatting (traditionally with a modem). There's als= o=20 a perl module to do the same. - Richard Huxton