ページの先頭行へ戻る
Interstage Application Server V13.0.0 GlassFish 設計・構築・運用ガイド
FUJITSU Software

10.8.6 decodeサブコマンド

形式

imqusermgr decode -src encoded-passfile [-target unencoded-passfile] [-f]

機能説明

エンコードされているパスワードファイルをデコードし、エンコードされていないパスワードファイルを作成します。

オプション

オプション名

説明

-src

デコード対象のパスワードファイルを絶対パスで指定します。

-target

デコード後のパスワードファイルを絶対パスで指定します。-srcに指定したパスとは異なるパスを指定してください。
省略時は、-srcに指定したファイル名の末尾に.decodeが付加されたファイルが出力されます。

-f

作成確認をユーザーに問い合わせません。

使用例

以下のように実行します。

指定したパスワードファイルに対してデコードしたファイルを作成するか確認されます。

作成する場合は、「y」を入力します。

C:\Interstage\glassfish5\mq\bin\imqusermgr decode -src C:\work\password_encoded.txt -target C:\work\password.txt

Decoding file where:

Source File C:\work\password_encoded.txt

Target File C:\work\password.txt

Are you sure you want to decode this file ? (y/n)[n]y

The file is successfully decoded

/opt/FJSViaps/glassfish5/mq/bin/imqusermgr decode -src /work/password_encoded.txt -target /work/password.txt

Decoding file where:

Source File /work/password_encoded.txt

Target File /work/password.txt

Are you sure you want to decode this file ? (y/n)[n]y

The file is successfully decoded