免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5202 | 回复: 2
打印 上一主题 下一主题

为什么不能修改root密码 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-26 20:25 |只看该作者 |倒序浏览
今天修改root用户密码时报如下错误,请高手指点\r\npmsdb1@root[/]passwd root\r\nChanging password for \"root\"\r\nroot\'s New password: \r\n        a minimum of 1 elapsed week between changes.\r\n3004-320 Only the system administrator can change this password.

论坛徽章:
0
2 [报告]
发表于 2010-01-28 11:36 |只看该作者
One thing I do sometimes, when adding a new user, is after setting the \r\ninitial password from root, I remove the ADMCHG flag for that user from \r\n/etc/security/passwd. This allows the user to keep the initial password \r\nuntil he or she feels comfortable with changing it. The slight security \r\nrisk is worth the reduced hassle when a new user is not comfortable \r\nwith logging in, and then picking a new password right away.

论坛徽章:
0
3 [报告]
发表于 2011-04-18 10:57 |只看该作者
{:6_671:}
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP