Patch provided by Takuma Hoshiai.
<para>
<!--
1- Login as the database's operating system user and type
- <command>"pg_md5 --md5auth --username= "</command>
+ <command>"pg_md5 --md5auth --username=username password"</command>
user name and <literal>md5</literal> encrypted password are registered
into pool_passwd.
If pool_passwd does not exist yet, pg_md5 command will automatically create it for you.
-->
-1. ã\83\87ã\83¼ã\82¿ã\83\99ã\83¼ã\82¹ã\81®OSã\83¦ã\83¼ã\82¶ã\81¨ã\81\97ã\81¦ã\83ã\82°ã\82¤ã\83³ã\81\97ã\81¦ã\83³ã\81\97ã\80\81<command>"pg_md5 --md5auth --username=ã\83¦ã\83¼ã\82¶å\90\8d"</command> を実行します。
+1. ã\83\87ã\83¼ã\82¿ã\83\99ã\83¼ã\82¹ã\81®OSã\83¦ã\83¼ã\82¶ã\81¨ã\81\97ã\81¦ã\83ã\82°ã\82¤ã\83³ã\81\97ã\80\81<command>"pg_md5 --md5auth --username=ã\83¦ã\83¼ã\82¶å\90\8d ã\83\91ã\82¹ã\83¯ã\83¼ã\83\89"</command> を実行します。
pool_passwdがまだ存在していなかった場合は、pg_md5コマンドが自動的にこれを生成します。
<note>
<para>
file for <productname>Pgpool-II</productname> in the system's
PAM configuration directory (which is usually at <literal>"/etc/pam.d"</literal>).
A sample service-configuration file is installed as
- <filename>"share/pgpool.pam"</filename> under the install directory.
+ <filename>"share/pgpool-II/pgpool.pam"</filename> under the install directory.
-->
PAM認証を有効にするには、<productname>Pgpool-II</productname>のサービス設定ファイルをシステムのPAM設定ディレクトリ(通常は<literal>"/etc/pam.d"</literal>にあります)に作成しなければなりません。
-サービス設定ファイルのサンプルはインストールディレクトリ下に<literal>"share/pgpool.pam"</literal>としてインストールされています。
+サービス設定ファイルのサンプルはインストールディレクトリ下に<literal>"share/pgpool-II/pgpool.pam"</literal>としてインストールされています。
</para>
<note>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--with-pam</option></term>
+ <listitem>
+ <para>
+<!--
+ <productname>Pgpool-II</productname> binaries will be built with PAM authentication support.
+ PAM authentication support is disabled by dafault.
+-->
+<productname>Pgpool-II</productname>バイナリがPAM認証サポート付で構築されます。
+デフォルトでは、PAM認証サポートは無効です。
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>
<cmdsynopsis>
<command>pg_md5</command>
<arg rep="repeat"><replaceable>option</replaceable></arg>
+ <arg choice="plain"><replaceable>-p</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>pg_md5</command>
- <arg><replaceable>password</replaceable></arg>
+ <arg rep="repeat"><replaceable>option</replaceable></arg>
+ <arg choice="plain"><replaceable>password</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<para>
<!--
<command>pgpool</command> runs in 3 modes: start, stop and reload.
+ If none of stop or reload is given, it is assumed that "start" is specified.
-->
<command>pgpool</command>は3つのモードで実行されます。すなわち、start、stop、reloadです。
+ stopもしくはreloadが指定されていなければ、start モードが指定されているものとします。
</para>
</refsect1>
</para>
<para>
1- Login as the database's operating system user and type
- <command>"pg_md5 --md5auth --username= "</command> user name
+ <command>"pg_md5 --md5auth --username=username password"</command> user name
and <literal>md5</literal> encrypted password are registered
into pool_passwd. If pool_passwd does not exist yet, pg_md5
command will automatically create it for you.
file for <productname>Pgpool-II</productname> in the system's
PAM configuration directory (which is usually at <literal>"/etc/pam.d"</literal>).
A sample service-configuration file is installed as
- <filename>"share/pgpool.pam"</filename> under the install directory.
+ <filename>"share/pgpool-II/pgpool.pam"</filename> under the install directory.
</para>
<note>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--with-pam</option></term>
+ <listitem>
+ <para>
+ <productname>Pgpool-II</productname> binaries will be built with PAM authentication support.
+ PAM authentication support is disabled by dafault.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>
<cmdsynopsis>
<command>pg_md5</command>
<arg rep="repeat"><replaceable>option</replaceable></arg>
+ <arg choice="plain"><replaceable>-p</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>pg_md5</command>
- <arg><replaceable>password</replaceable></arg>
+ <arg rep="repeat"><replaceable>option</replaceable></arg>
+ <arg choice="plain"><replaceable>password</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<title>Usages</title>
<para>
<command>pgpool</command> runs in 3 modes: start, stop and reload.
+ If none of stop or reload is given, it is assumed that "start" is specified.
</para>
</refsect1>