2015年6月22日 星期一

【Linux 】password 正確,但卻無法 login


Problem

Linux 輸入 password 正確,但卻無法 login,系統顯示 Access Denied

Study

此現象由於 User 輸入錯誤密碼超過限定次數,而帳號被鎖定。

Solution

參考[1] 的解決方式如下:

[srv ~]# faillog -u test
Login       Failures Maximum Latest                   On
test        16        0   06/23/15 11:23:12 +0800  srv-q00-12
[srv ~]# /usr/bin/faillog -r test
[srv ~]# faillog -u test
Login       Failures Maximum Latest                   On
test         0        0   06/23/15 11:27:15 +0800  srv-q00-11

參考

1. Linux denying user access after reseting password, http://setaoffice.com/2010/04/08/linux-denying-user-access-after-reseting-password/

沒有留言:

張貼留言

prettyPrint();