重庆思庄Oracle、Redhat认证学习论坛

标题: linux修改密码提示The password is the same as the old one [打印本页]

作者: mahan    时间: 2024-8-9 16:14
标题: linux修改密码提示The password is the same as the old one
问题描述:
   centos7系统 先来看看出现的问题提示。The password is the same as the old one


[test11@node1 ~]$ passwd
Changing password for user test11.
Changing password for test11.
(current) UNIX password:
New password:
BAD PASSWORD: The password is the same as the old one

  问题原因:
  涉及文件:

    /etc/pam.d/system-auth

  remember=5表示会记录5次密码, 所以你修改的密码不能与原来5次的一样。如果想解决这个问题删除这个就行。

9295366b5cfd5b19d7.png
登录/注册后可看大图