ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 234 - XK0-005 discussion

Report
Export

A junior developer is unable to access an application server and receives the following output:

The systems administrator investigates the issue and receives the following output:

Which of the following commands will help unlock the account?

A.
Pam_tally2 --user=dev2 ----quiet
Answers
A.
Pam_tally2 --user=dev2 ----quiet
B.
pam_ tally2 --user=dev2
Answers
B.
pam_ tally2 --user=dev2
C.
pam_tally2 ---user+dev2 ----quiet
Answers
C.
pam_tally2 ---user+dev2 ----quiet
D.
pam_tally2 --user=dev2 ----reset
Answers
D.
pam_tally2 --user=dev2 ----reset
Suggested answer: D

Explanation:

To unlock an account that has been locked due to login failures, the administrator can use the commandpam_tally2 --user=dev2 --reset(D). This will reset the failure counter for the user ''dev2'' and allow the user to log in again. The other commands will not unlock the account, but either display or increase the failure count.Reference:

[CompTIA Linux+ Study Guide], Chapter 4: Managing Users and Groups, Section: Locking Accounts with pam_tally2

[How to Lock and Unlock User Account in Linux]

asked 02/10/2024
Amin Dashti
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first