株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

/etc/security/pwquality.confの「enforce_for_root」を有効化する

# Enforces pwquality checks on the root user password.
# Enabled if the option is present.
enforce_for_root

通常、パスワードポリシーはrootユーザーには適用されずに、aとかで指定できるけれどそういうことをできなくする設定

[root@CENT84-server ~]# passwd yuta
ユーザー yuta のパスワードを変更。
新しいパスワード:
よくないパスワード: このパスワードは回文です。
passwd: 認証トークン操作エラー

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)