[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to log bad login attempts



On Mon, 14 Aug 2000 kabir citenet net wrote:

> How can I write bad login attempts to a file ?
> I know they exists /var/log/messages. 
> I want them in a seperate file.
> how can I do this ?
> larry mintz<kabir citenet net>
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
I would like to suggest you are using syslogd to perform it.
Under /etc/syslog.conf, here is entry like
# The authpriv file has restricted access.
authpriv.*			/var/log/secure

This file is logging all the auth. stuffs, may be suitable for
yours. Of course, after editing syslog.conf, pls restart such 
services.

-- 
#####################################################################
# Andrew H.P. So, Software Developer				    #
# First Ecommerce Limited, http://www.firstecom.com                 #
# 8/F, Henley Building, 5 Queen's Road Central, Hong Kong	    #
# andrew so firstecom com, Tel:(852)2289-9542 Fax:(852)2801-5939    #
#####################################################################





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]