From 534af30cfd07d2b74ffdd0f5d87e45ebf78d275c Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Wed, 28 Nov 2001 19:57:36 +0000 Subject: [PATCH] Document that PGPASSWORD is not secure. --- doc/src/sgml/libpq++.sgml | 6 ++++-- doc/src/sgml/libpq.sgml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/libpq++.sgml b/doc/src/sgml/libpq++.sgml index bbfb106068b..3394953d0d7 100644 --- a/doc/src/sgml/libpq++.sgml +++ b/doc/src/sgml/libpq++.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:41 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.36 2001/11/28 19:57:36 momjian Exp $ --> <chapter id="libpqplusplus"> @@ -109,7 +109,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53: <listitem> <para> <envar>PGPASSWORD</envar> - sets the password used if the backend demands password authentication. + sets the password used if the backend demands password + authentication. This is not recommended because the password can + be read by others using <command>ps -e</command>. </para> </listitem> <listitem> diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 8629aa6e558..92d6c13189b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.80 2001/11/21 22:57:01 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.81 2001/11/28 19:57:36 momjian Exp $ --> <chapter id="libpq"> @@ -2013,7 +2013,9 @@ sets the user name used to connect to the database and for authentication. <primary><envar>PGPASSWORD</envar></primary> </indexterm> <envar>PGPASSWORD</envar> -sets the password used if the backend demands password authentication. +sets the password used if the backend demands password +authentication. This is not recommended because the password can +be read by others using <command>ps -e</command>. </para> </listitem> <listitem> -- GitLab