Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 11fa6f5

Browse files
committed
Clarify documentation that initdb -A or editing pg_hba.conf is required
if you do not trust local users.
1 parent 70007b4 commit 11fa6f5

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

doc/src/sgml/installation.sgml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.283 2007/02/17 01:26:24 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.284 2007/02/19 18:57:18 momjian Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -480,6 +480,13 @@ su - postgres
480480
</para>
481481
</step>
482482

483+
<step>
484+
<para>
485+
Restore your previous <filename>pg_hba.conf</> and any
486+
<filename>postgresql.conf</> modifications.
487+
</para>
488+
</step>
489+
483490
<step>
484491
<para>
485492
Start the database server, again from the special database user
@@ -1619,11 +1626,20 @@ postgres$ <userinput>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data</>
16191626
</para>
16201627
</step>
16211628

1629+
<step
1630+
<para>
1631+
At this point, if you did not use the <command>initdb</> <literal>-A</>
1632+
option, you might want to modify <filename>pg_hba.conf</> to control
1633+
local access to the server before you start it. The default is to
1634+
trust all local users.
1635+
</para>
1636+
</step>
1637+
16221638
<step>
16231639
<para>
1624-
The previous step should have told you how to start up the
1625-
database server. Do so now. The command should look something
1626-
like:
1640+
The previous <command>initdb</> step should have told you how to
1641+
start up the database server. Do so now. The command should look
1642+
something like:
16271643
<programlisting>
16281644
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
16291645
</programlisting>

0 commit comments

Comments
 (0)