Skip to content
Snippets Groups Projects
Commit 534af30c authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Document that PGPASSWORD is not secure.

parent 3312b8ed
No related branches found
No related tags found
No related merge requests found
<!-- <!--
$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"> <chapter id="libpqplusplus">
...@@ -109,7 +109,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53: ...@@ -109,7 +109,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:
<listitem> <listitem>
<para> <para>
<envar>PGPASSWORD</envar> <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> </para>
</listitem> </listitem>
<listitem> <listitem>
......
<!-- <!--
$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"> <chapter id="libpq">
...@@ -2013,7 +2013,9 @@ sets the user name used to connect to the database and for authentication. ...@@ -2013,7 +2013,9 @@ sets the user name used to connect to the database and for authentication.
<primary><envar>PGPASSWORD</envar></primary> <primary><envar>PGPASSWORD</envar></primary>
</indexterm> </indexterm>
<envar>PGPASSWORD</envar> <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> </para>
</listitem> </listitem>
<listitem> <listitem>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment