3004-314 Password was recently used and is not valid for reuse.
1.smit chuser
修改number of passwords before reuse的值为0
然后执行成功后退出。
或者执行:chsec -f /etc/security/lastlog -s sun007 -a unsuccessful_login_count=0
或者执行:
# pwdadm -c user #清楚账户的密码标志
# passwd user 重新修改密码即可
/etc/security/user
maxage = 0
如果是密码过期了,比如
$ su - user
user's Password:
[compat]: 3004-332 Your password has expired.
root执行
#pwdadm -c user
设置只允许管理员更新密码
# pwdadm -f ADMIN user
# su - user
$ passwd user
Changing password for "user"
3004-664 You are not authorized to change "user" password.
3004-709 Error changing password for "user" : You do not have permission.
阅读(8859) | 评论(0) | 转发(0) |