#!/bin/sh
#
# SYSTEMS: Solaris
# This script is used to enable tracking of failed login attempts.  Without 
# the /var/adm/loginlog file in place, no such logging would be done.  For 
# more information, see the loginlog(4) manual entry.
#
MSG="# Checking log file to track failed login attempts..."
SYSTEM=`uname -s`
######Solaris######
if [ "$SYSTEM" = "SunOS" ]; then
  echo ""; echo "$MSG"
  LOGINLOG=/var/adm/loginlog
  if [ ! -f ${LOGINLOG} ]; then
    echo "--WARN-- [LOGIN001w] The file ${LOGINLOG} does NOT exist."
  fi
fi
