Unix and Linux Discussions Tagged with failure |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
1,959 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,412 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,420 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
8,687 |
AIX |
|
|
|
2 |
1,643 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,706 |
Linux |
|
|
|
10 |
6,188 |
AIX |
|
|
|
0 |
3,905 |
Cybersecurity |
|
|
|
4 |
6,689 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,315 |
Shell Programming and Scripting |
|
|
|
2 |
6,714 |
Debian |
|
|
|
0 |
1,697 |
Cartoons for Geeks |
|
|
|
5 |
10,269 |
Solaris |
|
|
|
0 |
1,349 |
Complex Event Processing RSS News |
|
|
|
8 |
5,174 |
UNIX for Advanced & Expert Users |
|
|
|
10 |
3,902 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
26,983 |
Solaris |
|
|
|
2 |
2,784 |
Filesystems, Disks and Memory |
|
|
|
1 |
2,831 |
Filesystems, Disks and Memory |
|
|
|
2 |
5,357 |
UNIX and Linux Applications |
|
|
|
2 |
5,798 |
Linux |
|
|
|
1 |
17,164 |
AIX |
|
|
|
2 |
5,948 |
UNIX for Advanced & Expert Users |
|
|
|
12 |
24,385 |
HP-UX |
|
|
|
5 |
11,827 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
33,970 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
13,497 |
Shell Programming and Scripting |
|
|
|
1 |
10,098 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,040 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,701 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,541 |
IP Networking |
|
|
|
2 |
3,108 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,676 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,309 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,640 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,299 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,395 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,362 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,660 |
UNIX for Dummies Questions & Answers |
FAILLOG(8) System Manager's Manual FAILLOG(8)
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 (jockgrrl@ix.netcom.com)
FAILLOG(8)