目的
新規の DCE アカウントの DCE パスワードを戻します
構文
dpass [-cell <original AFS cell name>] [-help] dpass [-c <original AFS cell name>] [-h]
構文
dm pass コマンドを使用して DCE セルに AFS ユーザー・アカウントを移行する場合、dpass コマンドは、管理者が発行者に割り当てた DCE パスワードを戻します。
AFS クライアントで発行された dpass コマンドは、-cell 引き数に指定された AFS セルから、発行者の新規の DCE パスワードを要求します。
発行者は、AFS アカウントが DCE に移動された AFS ユーザーとして認証され、dpass コマンドからプロンプトが出された場合には、ユーザーの AFS パスワードを指定する必要があります。
オプション
出力
デフォルトでは、dpass コマンドは、以下に類似のメッセージを標準出力ストリームに書き込みます。
Please read the following message before entering your password. This program will display your new, temporary DCE password on your terminal, and you should change the assigned password as soon as possible (from a DCE client). The program assumes that the AFS cell uses the AFS Authentication Server and that an administrator used the utilities in the AFS/DFS Migration Toolkit to migrate the account from AFS to DCE. The password you enter should be the AFS password that was in effect when your DCE account was created; this is not necessarily the same password you have at the moment. The cell name (which you may override with a command line option), must be the name of the AFS cell from which the authentication information was taken.
このメッセージが出力されないようにするには、DPASS_NO_MESSAGE 環境変数を設定します。こうすれば、必要な場合に、以下の例のようなスクリプトを使って、カスタマイズされたメッセージに置き換えることができます。
#! /bin/csh echo "Start of customized message" echo "Continuation of customized message" . . . echo "Conclusion of customized message" setenv DPASS_NO_MESSAGE dpass $*
dpass コマンドは、標準メッセージまたはカスタマイズされたメッセージがあれば、その後に次のようなオリジナルの AFS パスワードの入力のためのプロンプトを表示します。
Original password for AFS cell cell: Re-enter password to verify:
AFS パスワードが一致し、それが正しい場合、コマンドは一時 DCE パスワードを以下のメッセージで報告します。
The new DCE password is: Issuer's_temporary_DCE_password
例
以下の例は、コマンドの発行者の DCE パスワードを戻しています。発行者の AFS アカウントは、abc.com セルにあります。 DPASS_NO_MESSAGE 変数は、標準メッセージが出力されないように設定されています。
% dpass Original password for AFS cell abc.com: Issuer's_AFS_password Re-enter password to verify: Issuer's_AFS_password The new DCE password is: 8655--eg8e-dcdc-8157
必要となる特権
発行者は、表示する DCE パスワードに一致する AFS ユーザーとして認証されていなければなりません。
関連情報
AFS/DFS Migration Toolkit Administration Guide and Reference の dm pass 参照ページ