From 11fa6f59dad65fd244e1777c3a08491484664d38 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: 2007年2月19日 18:57:18 +0000 Subject: [PATCH] Clarify documentation that initdb -A or editing pg_hba.conf is required if you do not trust local users. --- doc/src/sgml/installation.sgml | 24 ++++++++++++++++++++---- 1 file 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 @@ - + <![%standalone-include[<productname>PostgreSQL</strong>]]> @@ -480,6 +480,13 @@ su - postgres </para> </step> + <step> + <para> + Restore your previous <filename>pg_hba.conf</strong> and any + <filename>postgresql.conf</strong> modifications. + </para> + </step> + <step> <para> 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</strong> </para> </step> + <step + <para> + At this point, if you did not use the <command>initdb</strong> <literal>-A</strong> + option, you might want to modify <filename>pg_hba.conf</strong> 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</strong> 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> -- 2.39.5 </div><div class="naked_ctrl"> <form action="/index.cgi/contrast" method="get" name="gate"> <p><a href="http://altstyle.alfasado.net">AltStyle</a> によって変換されたページ <a href="https://git.postgresql.org/gitweb/?a=patch&h=11fa6f59dad65fd244e1777c3a08491484664d38&p=postgresql.git">(->オリジナル)</a> / <label>アドレス: <input type="text" name="naked_post_url" value="https://git.postgresql.org/gitweb/?a=patch&h=11fa6f59dad65fd244e1777c3a08491484664d38&p=postgresql.git" size="22" /></label> <label>モード: <select name="naked_post_mode"> <option value="default">デフォルト</option> <option value="speech">音声ブラウザ</option> <option value="ruby">ルビ付き</option> <option value="contrast" selected="selected">配色反転</option> <option value="larger-text">文字拡大</option> <option value="mobile">モバイル</option> </select> <input type="submit" value="表示" /> </p> </form> </div>