SUSE Linux 用户user1登陆不了,确认密码没错,使用root用户登陆,
su - user1
提示密码不对,passwd user1提示帐户过期user account has
expired
,经过查找资料,解决方案如下:
使用chage 用户名来修改帐户的有效期.
chage
user1
Changing aging information for
user1
Minimum Password Age [0];直接回车不变
Maximum
Password Age [10000];直接回车不变
Password Expiration Qarning
[-1];直接回车不变
Password Inactive [0];-1 修改
Last
Password Change (YYYY-MM-DD) (2007-04-09);直接回车不变
Account
Expiration Date (YYYY-MM-DD) (1970-01-01);2051-01-01
修改
然后使用user1登陆会提示密码过期修改密码,按照操作提示操作就可以了。
linux出现user account has expired解决方案,布布扣,bubuko.com
linux出现user account has expired解决方案
原文:http://www.cnblogs.com/suixianlong/p/3570207.html