Andrej:
You are right, running the script as root is
insecure.
This is a development machine so I just log in
and do everthing as root. It is convenient
since it is not a production machine and dedicated
to me.
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Andrej Ricnik-Bay
Sent: Wednesday, February 14, 2007 8:04 PM
To: Neil Aggarwal
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] Pass password in scripts?
On 2/15/07, Neil Aggarwal <neil@jammconsulting.com> wrote:
> There is no ~ directory for the db user.
That's easily fixed...
> The scripts run as root.
Bad idea?
> Should I put it in the home directory for root?
> Thanks,
> Neil
Cheers,
Andrej
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate