Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
faillog(8)
Edit
PageHistory
Diff
Info
LikePages
FAILLOG !!!FAILLOG NAME SYNOPSIS DESCRIPTION CAVEATS FILES SEE ALSO AUTHOR ---- !!NAME faillog - examine faillog and set login failure limits !!SYNOPSIS __faillog__ [[__-u__ ''login-name''] [[__-a__] [[__-t__ ''days''] [[__-m__ ''max''] [[__-pr__] !!DESCRIPTION __faillog__ formats the contents of the failure log, ''/var/log/faillog'', and maintains failure counts and limits. The order of the arguments to __faillog__ is significant. Each argument is processed immediately in the order given. The __-p__ flag causes failure entries to be printed in UID order. Entering __-u__ ''login-name'' flag will cause the failure record for ''login-name'' only to be printed. Entering __-t__ ''days'' will cause only the failures more recent than ''days'' to be printed. The __-t__ flag overrides the use of __-u__. The __-a__ flag causes all users to be selected. When used with the __-p__ flag, this option selects all users who have ever had a login failure. It is meaningless with the __-r__ flag. The __-r__ flag is used to reset the count of login failures. Write access to ''/var/log/faillog'' is required for this option. Entering __-u__ ''login-name'' will cause only the failure count for ''login-name'' to be reset. The __-m__ flag is used to set the maximum number of login failures before the account is disabled. Write access to ''/var/log/faillog'' is required for this option. Entering __-m__ ''max'' will cause all accounts to be disabled after ''max'' failed logins occur. This may be modified with __-u__ ''login-name'' to limit this function to ''login-name'' only. Selecting a ''max'' value of 0 has the effect of not placing a limit on the number of failed logins. The maximum failure count should always be 0 for __root__ to prevent a denial of services attack against the system. Options may be combined in virtually any fashion. Each __-p__, __-r__, and __-m__ option will cause immediate execution using any __-u__ or __-t__ modifier. !!CAVEATS __faillog__ only prints out users with no successful login since the last failure. To print out a user who has had a successful login since their last failure, you must explicitly request the user with the __-u__ flag, or print out all users with the __-a__ flag. Some systems may replace /var/log with /var/adm or /usr/adm. !!FILES /var/log/faillog - failure logging file !!SEE ALSO login(1), faillog(5) !!AUTHOR Julianne Frances Haugh (jfh@austin.ibm.com) ----
3 pages link to
faillog(8)
:
Man8f
faillog(5)
login.defs(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.