te
Portions Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
This manual page is derived from documentation obtained from the OpenSC organization (www.opensc-project.org). This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
pklogin_finder 1 "2012 年 1 月 18 日" "SunOS 5.12" "ユーザーコマンド"
名前
pklogin_finder - 証明書のユーザーへのマッピング
形式

/usr/lib/pam_pkcs11/pklogin_finder [debug] [config_file=filename]
機能説明

pklogin_finder は、pam_pkcs11 ライブラリインフラストラクチャーを使用して、PKCS#11 で規定された証明書を対話形式でユーザーにマップします。

pklogin_finder は、pam_pkcs11(5) PAM モジュールと同じ構成ファイルと引数を使用します。また、定義済みのマッパーモジュールを読み込み、見つかった証明書とユーザーログイン間のマップを探し出します。

オプション

サポートしているオプションは、次のとおりです。

config_file=fileame

構成ファイルを設定します。 デフォルト値は /etc/security/pam_pkcs11/pam_pkcs11.conf です。

debug

デバッグ出力を有効にします。 デフォルトはデバッグなしです。

pam_pkcs11(5) と同じ構成ファイルが使用されるため、pam_pkcs11 のすべてのオプションを使用できます。一部のオプションは PAM 以外の環境では意味がないため、無視されます。一部のマッパーオプション (mapfileignorecase) も証明書の内容に影響しないため、無視されます。

終了ステータス

次の終了ステータスが返されます。

0

正常終了。 pkcs11_inspect は、ログイン名を stdout に出力して終了します。

1

エラーが発生した。 ユーザーマッピングエラーが見つかった。

2

エラーが発生した。 一致するユーザーが見つからなかった。

使用例

例 1 pklogin_finder を使用する

次の例では、オプションを指定せずに pklogin_finder コマンドを実行しています。

% pkcs11_inspect

例 2 オプションを指定して pklogin_finder を使用する

次の例では、オプション指定して pkcs_finder コマンドを実行しています。

% pklogin_finder debug config_file=${HOME}/.pam_pkcs11.conf
ファイル

/etc/security/pam_pkcs11/pam_pkcs11.conf

著者

Juan Antonio Martinez (jonsito@teleline.es)

属性

属性についての詳細は、マニュアルページの attributes(5) を参照してください。

属性タイプ属性値
使用条件library/security/pam/module/pam-pkcs11
インタフェースの安定性不確実
関連項目

pkcs11_inspect(1), attributes(5), pam_pkcs11(5)

PAM-PKCS11 User Manual, http://www.opensc-project.org/pam_pkcs11