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 for
this sort of interactive chatting (traditionally with a modem). There's also
a perl module to do the same.
- Richard Huxton