====== pwgenコマンド ======
[[:linux|一つ上へ]]
パスワードを自動生成するコマンド。
以下を実行してコマンドをインストールする。
dnf install -y pwgen
===== 使用方法 ======
pwgen pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]
^オプション^説明及びクエリ^
|-c, --capitalize|少なくとも1文字以上の大文字を含める|
|-A, --no-capitalize|大文字を含めない|
|-n, --numerals|少なくとも1文字以上の数字を含める|
|-0, --no-numerals|数字を含めない|
|-y, --symbols|少なくとも1文字以上の記号を含める|
|-r , --remove-chars=|指定した文字を含めずにパスワードを生成する|
|-s, --secure|完全にランダムにパスワードを生成する|
|-B, --ambiguous|あいまいな文字を使用しない|
|-h, --help|ヘルプを表示|
|-H, --sha1=path/to/file[#seed]|Use sha1 hash of given file as a (not so) random generator|
|-C|生成したパスワードを列で表示する|
|-1|生成したパスワードを列で表示しない|
|-v, --no-vowels|Do not use any vowels so as to avoid accidental nasty words|