#!/bin/sh

# shellcheck disable=SC1090
# shellcheck disable=SC2034
# shellcheck disable=SC2154

# audit_login_records
#
# Refer to Section(s) 4.5 Page(s) 69-70 CIS Solaris 10 Benchmark v5.1.0
#.

audit_login_records () {
  print_function "audit_login_records"
  string="Login Records"
  check_message  "${string}"
  if [ "${os_name}" = "SunOS" ]; then
    if [ "${os_version}" = "10" ]; then
      audit_logadm_value "loginlog" "none"
    fi
  else
    na_message "${string}"
  fi
}
