diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-02-19 18:57:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-02-19 18:57:18 +0000 |
commit | 11fa6f59dad65fd244e1777c3a08491484664d38 (patch) | |
tree | d17e21f218c7d7387d2b694df0bf0b2dfa2ef3bb | |
parent | 70007b4dd5e91cc0ea7590b66b38cdf8d2143b15 (diff) | |
download | postgresql-11fa6f59dad65fd244e1777c3a08491484664d38.tar.gz postgresql-11fa6f59dad65fd244e1777c3a08491484664d38.zip |
Clarify documentation that initdb -A or editing pg_hba.conf is required
if you do not trust local users.
-rw-r--r-- | doc/src/sgml/installation.sgml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 041be18081b..ddd185fa42c 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $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"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -482,6 +482,13 @@ su - postgres <step> <para> + Restore your previous <filename>pg_hba.conf</> and any + <filename>postgresql.conf</> modifications. + </para> + </step> + + <step> + <para> Start the database server, again from the special database user account: <programlisting> @@ -1619,11 +1626,20 @@ postgres$ <userinput>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data</> </para> </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> <para> - The previous step should have told you how to start up the - database server. Do so now. The command should look something - like: + The previous <command>initdb</> step should have told you how to + start up the database server. Do so now. The command should look + something like: <programlisting> /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data </programlisting> |