バージョンごとのドキュメント一覧

21.14. BSD認証 #

<title>BSD Authentication</title>

This authentication method operates similarly to <literal>password</literal> except that it uses BSD Authentication to verify the password. BSD Authentication is used only to validate user name/password pairs. Therefore the user's role must already exist in the database before BSD Authentication can be used for authentication. The BSD Authentication framework is currently only available on OpenBSD. この認証方式は、パスワードを照合するためにBSD認証を使用すること以外はpasswordと同じように動作します。 BSD認証は、ユーザ名/パスワードの組の確認のみに使用されます。 それゆえ、ユーザのロールはBSD認証が認証に使用可能となる前にデータベースに存在していなければいけません。 BSD認証フレームワークは現在OpenBSDでのみ利用可能です。

BSD Authentication in <productname>PostgreSQL</productname> uses the <literal>auth-postgresql</literal> login type and authenticates with the <literal>postgresql</literal> login class if that's defined in <filename>login.conf</filename>. By default that login class does not exist, and <productname>PostgreSQL</productname> will use the default login class. PostgreSQLでのBSD認証は、auth-postgresqlログイン型を使用し、postgresqlログインクラスがlogin.confにて定義されている場合はそれを使った認証を使用します。 デフォルトでは、そのログインクラスは存在せず、PostgreSQLはデフォルトログインクラスを使用します。

注記

To use BSD Authentication, the PostgreSQL user account (that is, the operating system user running the server) must first be added to the <literal>auth</literal> group. The <literal>auth</literal> group exists by default on OpenBSD systems. BSD認証を使用するために、PostgreSQLユーザアカウント(サーバを起動しているオペレーティングシステムユーザ)が、まずはauthグループに追加されていなければいけません。 authグループはOpenBSDシステムではデフォルトで存在しています。