Re: Pass password in scripts?

From: "Neil Aggarwal" <neil(at)JAMMConsulting(dot)com>
To: "'Andrej Ricnik-Bay'" <andrej(dot)groups(at)gmail(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Pass password in scripts?
Date: 2007-02-15 02:17:30
Message-ID: 001001c750a7$7237d290$0501a8c0@neilhp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Andrej Ricnik-Bay
Sent: Wednesday, February 14, 2007 8:04 PM
To: Neil Aggarwal
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Pass password in scripts?

On 2/15/07, Neil Aggarwal <neil(at)jammconsulting(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jan Danielsson 2007-02-15 02:53:17 Re: Pass password in scripts?
Previous Message Phillip Smith 2007-02-15 02:08:45 Re: Pass password in scripts?