Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to log invalid login attempts

Status
Not open for further replies.

hip

Instructor
Oct 27, 2002
4
ES
Hi,
we're using SCO UnixWere 7.1 and we have users that login to a profile and
that profile kicks off an application. Is there an easy way of being able to
track invalid attempts to open that profile?
many thanks,
Mark.
 
usually we edit /etc/syslog.conf and re(start) syslogd
 
Have a look at loginlog.

You can define LOGFAILURES in the file /etc/default/login (the default value is 5). All the unsuccessful login attempts after LOGFAILURES will be logged in /var/adm/loginlog (an ASCII file containing one record -or line- per attempt and including login name, tty and time).
You must create the file loginlog to enable logging. That file must belong to user root and group sys and have read and write permissions only for its owner.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top