Re: Postgresql and shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2007-10-30 at 12:37 +0100, Tronn Wærdahl wrote:


> Yes that is a possiblity, Joachim I dont see how this can be
> accomplished with sudo, could you provide some example syntax 

You could use the environment variable PGPASSWORD to connect to the
database without entering the password.
Or you could use the .pgpass file as explained here:
<http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html>

> Tronn

ciao
andrea
-- 
"In six days God created the heaven and the earth. On the seventh day,
Stanley Kubrick sent everything back for modifications."
- http://www.jonhs.com/freemovies/dark_side_of_the_moon.htm

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux