Commit 11fa6f59 authored by Bruce Momjian's avatar Bruce Momjian

Clarify documentation that initdb -A or editing pg_hba.conf is required

if you do not trust local users.
parent 70007b4d
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.283 2007/02/17 01:26:24 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.284 2007/02/19 18:57:18 momjian Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -480,6 +480,13 @@ su - postgres ...@@ -480,6 +480,13 @@ su - postgres
</para> </para>
</step> </step>
<step>
<para>
Restore your previous <filename>pg_hba.conf</> and any
<filename>postgresql.conf</> modifications.
</para>
</step>
<step> <step>
<para> <para>
Start the database server, again from the special database user 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</> ...@@ -1619,11 +1626,20 @@ postgres$ <userinput>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data</>
</para> </para>
</step> </step>
<step
<para>
At this point, if you did not use the <command>initdb</> <literal>-A</>
option, you might want to modify <filename>pg_hba.conf</> to control
local access to the server before you start it. The default is to
trust all local users.
</para>
</step>
<step> <step>
<para> <para>
The previous step should have told you how to start up the The previous <command>initdb</> step should have told you how to
database server. Do so now. The command should look something start up the database server. Do so now. The command should look
like: something like:
<programlisting> <programlisting>
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
</programlisting> </programlisting>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment