1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.6 2001/02/20 01: 16:49 tgl Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.7 2001/06/18 16:11:30 momjian Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -16,7 +16,7 @@ Postgres documentation
16
16
17
17
<refnamediv>
18
18
<refname>pg_passwd</refname>
19
- <refpurpose>Manipulate a text password file</refpurpose>
19
+ <refpurpose>Manipulate a secondary password file</refpurpose>
20
20
</refnamediv>
21
21
22
22
<refsynopsisdiv>
@@ -29,30 +29,28 @@ Postgres documentation
29
29
<refsect1 id="app-pg-passwd-description">
30
30
<title>Description</title>
31
31
<para>
32
- <application>pg_passwd</application> is a tool to manipulate a flat
33
- text password file for the purpose of using that file to control
34
- client authentication of the
35
- <productname>PostgreSQL</productname> server. More information
32
+ <application>pg_passwd</application> is a tool for manipulating flat
33
+ text password files. These files can control client authentication of
34
+ the <productname>PostgreSQL</productname> server. More information
36
35
about setting up this authentication mechanism can be found in the
37
36
<citetitle>Administrator's Guide</citetitle>.
38
37
</para>
39
38
40
39
<para>
41
- The form of a text password file is one entry per line; the fields
42
- of each entry are separated by colons. The first field is the user
43
- name, the second field is the encrypted password. Other fields are
40
+ The format of a text password file is one entry per line; the fields
41
+ of each entry are separated by colons. The first field is the user
42
+ name, the second field is the encrypted password. Other fields are
44
43
ignored (to allow password files to be shared between applications
45
- that use similar formats). The functionality of the
46
- <application>pg_passwd</application> utility is to enable a user to
47
- interactively add entries to such a file, to alter passwords of
48
- existing entries, and to take care of encrypting the passwords.
44
+ that use similar formats). <application>pg_passwd</application>
45
+ enables users to interactively add entries to such a file, to alter
46
+ passwords of existing entries, and to encrypt such passwords.
49
47
</para>
50
48
51
49
<para>
52
- Supply the name of the password file as argument to the <application>pg_passwd</application>
53
- command. To be of use for client authentication the file needs to
54
- be located in the server's data directory, and the base name of
55
- the file needs to be specified in the
50
+ Supply the name of the password file as argument to the
51
+ <application>pg_passwd</application> command. To be used by
52
+ PostgreSQL, the file needs to be located in the server's data
53
+ directory, and the base name of the file needs to be specified in the
56
54
<filename>pg_hba.conf</filename> access control file.
57
55
58
56
<screen>
@@ -90,11 +88,11 @@ host mydb 133.65.96.250 255.255.255.255 password passwords
90
88
91
89
<note>
92
90
<para>
93
- It is also useful to have entries in a password file with an empty
94
- password field. (This is different from an empty password.)
95
- These entries cannot be managed by
96
- <application>pg_passwd</application>, but it is always possible to
97
- edit password files manually.
91
+ It is also useful to have entries in a password file with empty
92
+ password fields. (This is different from an empty password.) Such
93
+ entries allow you to restrict users who can access the system. These
94
+ entries cannot be managed by <application>pg_passwd</application>,
95
+ but you can edit password files manually.
98
96
</para>
99
97
</note>
100
98
</refsect1>
0 commit comments