博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Exsi6.5修改主机密码
阅读量:7125 次
发布时间:2019-06-28

本文共 1065 字,大约阅读时间需要 3 分钟。

hot3.png

由于Exsi6.5应用了密码策略,导致无法更改root密码,研究了一下,终于找到了方法,记录一下。

 

Exsi更改密码总是提示密码不符合复杂度,受控于pam_passwdqc.so这个东西的影响,关于Exsi密码问题官方也有介绍,但是具体没告诉你怎么去操作这个密码:

[root:/etc/pam.d] passwd root

Changing password for root
You can now choose the new password or passphrase.
A valid password should be a mix of upper and lower case letters,
digits, and other characters. You can use a 7 character long
password with characters from at least 3 of these 4 classes.
An upper case letter that begins the password and a digit that
ends it do not count towards the number of character classes used.
A passphrase should be of at least 3 words, 8 to 30 characters
long, and contain enough different characters.
Alternatively, if no one else can see your terminal now, you can
pick this as your password: "hey4Lime&roar".
Enter new password: 
Re-type new password: 

 

 

修改办法:

vi /etc/pam.d/passwd

password   required    /lib/security/$ISA/pam_passwdqc.so retry=3 min=disabled,disabled,7,7,7 max=30 match=4 similar=deny enforce=users 

 

按照上面的修改上面这行行了,主要是enforce=users在起作用。

转载于:https://my.oschina.net/1914195322/blog/1830620

你可能感兴趣的文章
Oracle约束状态
查看>>
ogg单向同步配置
查看>>
POJ动态规划总括
查看>>
java基础:5.2 Integer类
查看>>
Why not work at run-time?
查看>>
解决iptables nat sctp协议无效的问题
查看>>
使用jsp实现word excel格式报表打印-JSP教程 Jsp/Servlet
查看>>
POI生成EXCEL文件
查看>>
17.08.12
查看>>
Smail语法(1)
查看>>
Django REST framework(基础和安装和示例)
查看>>
JS_增加事件,移除事件,动态元素的增删事件研究
查看>>
englist_1
查看>>
linux on power 开源技术的新选择
查看>>
查看远端的端口是否通畅3个简单实用案例!
查看>>
通通透透看无服务器计算:由来、场景和问题
查看>>
“成长密码:个人知识管理课程”第3期在北京举办
查看>>
统一沟通-技巧-9-Lync 2010-Outlook 2010-自动配置-1-IT人员
查看>>
ora-12545连接错误解决一例
查看>>
【斗医】【11】Web应用开发20天
查看>>