Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 439 Bytes

2016-09-29-view_last_successfull_and_failed_login_attempts.md

File metadata and controls

14 lines (9 loc) · 439 Bytes

View last successfull and failed login attempts

Category: sysadmin Generated on 2016-09-29

source: https://opensource.com/business/16/6/managing-passwords-security-linux

The last command shows the number of successfull login attempts. It writes to /var/log/wtmp.

The lastb command shows the number of unsuccessful login attempts. It writes to /var/log/btmp.

If this file have been zeroed out, you have a problem.