PrepAway - Latest Free Exam Questions & Answers

Which of the following commands is used to view failed login attempts on a user account?

Which of the following commands is used to view failed login attempts on a user account?

PrepAway - Latest Free Exam Questions & Answers

A.
lastw

B.
lastb

C.
lastlog

D.
lastf

Explanation:

The lastb command is used to view failed login attempts on a user account.
What is the lastb command?
The lastb command is used to view bad login attempts. The command searches in reverse order
through the database file named /var/adm/btmp in order to display the required information.
Answer option C is incorrect. The lastlog command reports the most recent logins of all users or of
a given user.
Answer options A and D are incorrect. There are no such commands as lastw and lastf in Linux.


Leave a Reply