[CentOS] Postgresql and shell script
Andrea Dell'Amico
adellam at sevenseas.orgTue Oct 30 11:59:16 UTC 2007
- Previous message: [CentOS] Postgresql and shell script
- Next message: [CentOS] Postgresql and shell script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20071030/efaf28bd/attachment-0001.sig>
- Previous message: [CentOS] Postgresql and shell script
- Next message: [CentOS] Postgresql and shell script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list