免费注册 查看新帖 |

Chinaunix

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

[系统管理] 有没有比较懂NIS的,求帮助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-12-18 10:37 |只看该作者 |倒序浏览
公司是NIS master/slave架构,NIS map都在/opt/NIS/目录,目标是想让用户登录的时候强制改密码,我修改了/opt/NIS/shadow,把第三列的值改成0,尝试登录却没有被要求改密码

请教高手在NIS如何强制用户修改密码 ?

论坛徽章:
0
2 [报告]
发表于 2015-12-18 11:14 |只看该作者
date of last password change
The date of the last password change, expressed as the number of days since Jan 1, 1970.
The value 0 has a special meaning, which is that the user should change her pasword the next time she will log in the system.

An empty field means that password aging features are disabled.

难道这个不适用于NIS ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP