Re: Pass password in scripts? - Mailing list pgsql-novice

From Neil Aggarwal
Subject Re: Pass password in scripts?
Date
Msg-id 001001c750a7$7237d290$0501a8c0@neilhp
Whole thread Raw
In response to Re: Pass password in scripts?  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
List 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@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


pgsql-novice by date:

Previous
From: "Phillip Smith"
Date:
Subject: Re: Pass password in scripts?
Next
From: Jan Danielsson
Date:
Subject: Re: Pass password in scripts?