The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring syslog.conf in a TRU64 UNIX machine adak2010 UNIX for Dummies Questions & Answers 0 04-11-2008 01:45 AM
syslog-ng.conf Tornado SUN Solaris 0 03-05-2008 04:37 PM
Event Monitor notification : Severity Serious : what does that mean ??? touny HP-UX 6 03-26-2007 04:41 AM
syslog.conf soliberus Linux 1 08-11-2006 04:44 AM
syslog.conf file and syslogd daemon VeroL UNIX for Dummies Questions & Answers 1 01-09-2004 06:05 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2001
Registered User
 

Join Date: Nov 2001
Posts: 15
Stumble this Post!
Severity Level in syslog.conf

To change the syslog.conf file to log every attempt like (Failed Login Attempts), what severity level must it be at? is it .notice or .err....not sure on this....
Forum Sponsor
  #2 (permalink)  
Old 12-11-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
Stumble this Post!
I'm not positive, but I don't think the standard telnet daemon has provisions for logging each and every single failed login attempt. It will however log repeated login failures. (Maybe there are custom telnet daemons that will?)

Most people I know use system accounting to keep track of logins.

Your syslog facility should log repeated login failures as it is.

Basically, if a particular daemon (telnet for this case) doesn't have logging that specifically provides for logging of everything to syslog, changing the syslog.conf isn't going to do anything to help you. It only tells syslog which message levels to log and which to ignore pretty much.

I hope this isn't too confusing.
  #3 (permalink)  
Old 12-11-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,264
Stumble this Post!
As I recall, telnetd and in.telnetd (your example) uses /bin/login to manage user logins. There is a configuration file for /bin/login called login.defs :

Quote:

NAME
/etc/login.defs - Login configuration

DESCRIPTION
The /etc/login.defs file defines the site-specific config-
uration for the shadow login suite. This file is
required. Absence of this file will not prevent system
operation, but will probably result in undesirable opera-
tion.

This file is a readable text file, each line of the file
describing one configuration parameter. The lines consist
of a configuration name and value, seperated by whites-
pace. Blank lines and comment lines are ignored. Com-
ments are introduced with a `#' pound sign and the pound
sign must be the first non-white character of the line.

Parameter values may be of four types: strings, booleans,
numbers, and long numbers. A string is comprised of any
printable characters. A boolean should be either the
and in the man page, the configuration for the logging behavior of /bin/login is configured (just a few examples):

Quote:
FAILLOG_ENAB (boolean)
If yes then login failures will be accumulated in
/var/log/faillog in a faillog(8) format.

FAIL_DELAY (number)
Delay time in seconds after each failed login
attempt.
Does this help, or were you looking for more generic syslog.conf information not related to login and telnetd?
  #4 (permalink)  
Old 12-12-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Stumble this Post!
Also, see if your system supports btmp. It's kind of like wtmp, but for bad logins. You can usually test this by finding your wtmp file (in my case it's in /var/log), and :
Code:
touch /var/log/btmp
Now try opening another session to your box, and purposely fail to provide the correct password. If the file grows in size, you're now keeping track of failed logins.

Although:
You must be careful who has the ability to read this file... A common scenario is when you accidentally put your password in as your username... someone who reads that file can keep an eye out for that.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0