Chinaunix

标题: 有没有比较懂NIS的,求帮助 [打印本页]

作者: Juice12    时间: 2015-12-18 10:37
标题: 有没有比较懂NIS的,求帮助
公司是NIS master/slave架构,NIS map都在/opt/NIS/目录,目标是想让用户登录的时候强制改密码,我修改了/opt/NIS/shadow,把第三列的值改成0,尝试登录却没有被要求改密码

请教高手在NIS如何强制用户修改密码 ?
作者: Juice12    时间: 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 ?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2