Skip to content

Commit 534af30

Browse files
committed
Document that PGPASSWORD is not secure.
1 parent 3312b8e commit 534af30

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/src/sgml/libpq++.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:41 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.36 2001/11/28 19:57:36 momjian Exp $
33
-->
44

55
<chapter id="libpqplusplus">
@@ -109,7 +109,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:
109109
<listitem>
110110
<para>
111111
<envar>PGPASSWORD</envar>
112-
sets the password used if the backend demands password authentication.
112+
sets the password used if the backend demands password
113+
authentication. This is not recommended because the password can
114+
be read by others using <command>ps -e</command>.
113115
</para>
114116
</listitem>
115117
<listitem>

doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.80 2001/11/21 22:57:01 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.81 2001/11/28 19:57:36 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -2013,7 +2013,9 @@ sets the user name used to connect to the database and for authentication.
20132013
<primary><envar>PGPASSWORD</envar></primary>
20142014
</indexterm>
20152015
<envar>PGPASSWORD</envar>
2016-
sets the password used if the backend demands password authentication.
2016+
sets the password used if the backend demands password
2017+
authentication. This is not recommended because the password can
2018+
be read by others using <command>ps -e</command>.
20172019
</para>
20182020
</listitem>
20192021
<listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy