Linux:password already has been used!
来源:互联网 发布:以利天诚大数据 编辑:程序博客网 时间:2024/04/30 10:32
问题描述,将某用户密码更改为之前使用过的密码,提示此错误
1. /etc/pam.d/common-password,此文件中的安全策略可以限制用户不能更改为之前使用的历史密码
password required pam_pwhistory.so use_authtok remember=6 retry=3
2. Linux历史密码在/etc/security/opasswd中存放
3. 解决方法
a. 临时更改commen-password文件修改密码修改策略,去除历史密码的限制,更改完密码后在恢复原来的策略
b. 删掉/etc/security/opasswd中关于被修改文件的内容,这样就检测不到之前的历史密码了
0 0
- Linux:password already has been used!
- The App Name you entered has already been used
- 使用LaTeX beamer文档类时warning: Option ‘pdfauthor’ has already been used
- how to fix "The App Name you entered has already been used"
- getOutputStream() has already been called
- The entry 'XXX' has already been added
- The entry ['*'] has already been added
- getOutputStream() has already been called for this
- mysql Connection.close() has already been called
- getOutputStream() has already been called for
- ListView setAdapter has already been called 异常
- weblogic Connection has already been closed解决方法
- Attribute "XXX" has already been defined
- Attribute "XXX" has already been defined
- WinSock.h has already been included
- error: Attribute "buttonBarStyle" has already been defined
- ListView setAdapter has already been called 异常
- Attribute "roundWidth" has already been defined
- 对象池
- 模拟按优先数调度算法(C++)
- 21:三角形最佳路径问题
- 阻塞、非阻塞、异步、同步以及select/poll和epoll
- C语言栈的实现进制转换
- Linux:password already has been used!
- 动态规划练习题-9(移动路线)
- about云之hadoop零基础
- 小白训练day2
- python导入模块的4种方法
- Windows系统功能模拟 C++(EasyX插件)—— 6th 界面绘制(四)
- Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'错误解决方案
- 26:滑雪
- 算法训练 入学考试(背包问题)