Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI/Linux – faillock Command Does Not Display Anything

edited May 22, 2024 9:41AM in Linux

Applies To:

Oracle Cloud Infrastructure

Linux OS

Symptoms:

faillock(8) command does not display any output for individual users.

[root@XXXX ~]# faillock
[root@XXXX ~]#

Cause:

faillock(8) does not display anything against individual users because pam_faillock(8) is not in effect to tally user login failures. Without pam_faillock.so in PAM authentication stacks, there is nothing to tally a user's failed login attempts into /var/run/faillock/<user_name>. No tally files obviously means faillock(8) has nothing to display.

Not using pam_faillock(8) in PAM authentication stacks is NOT an issue per se. It really depends on the environment's intended use. If there is a requirement to tally user login failures, then employ

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!