現在パスワードを変更しようとしています。Red Hat Enterprise Linuxサーバーバージョン5.10(Tikanga) しかし、新しいパスワードが出てきます。とても似ている。強制的に変更する方法はありますか?
$ passwd
Changing password for user XY
Changing password for XY
(current) UNIX password:
New UNIX password:
BAD PASSWORD: is too similar to the old one
New UNIX password:
ベストアンサー1
rootでコマンドを実行できる場合は、変更を強制的に適用できます。
例:
$ sudo passwd myusername
Changing password for user myusername.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.