OCI/Linux – faillock Command Does Not Display Anything
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