Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Log into the Solaris system you want to monitor.

  • Launch the terminal and run the below command. s

    • sudo vi /etc/syslog.conf

  • Enter the EventTracker Agent IP in place of <EventTracker IP>.

  • Save and quit.

  • Run the following command.

    • sudo /usr/sbin/auditconfig -setflags fd,fc,fm,lo,ex

  • Use the below command to restart the syslog service

    • svcadm restart system/system-log:default

  • In addition to this, audit logs should also be enabled, which can be done by following the below steps. Assume the Primary Administrator role, or become a superuser.

    • Save a backup copy of the audit_control file.

      • cp /etc/security/audit_control /etc/security/audit_control.save

    • Add an audit_syslog.so plugin entry in audit_control.

      • audit_control file

      • flags:lo,ss

      • naflags:lo,na

      • plugin:name=audit_binfile.so;p_dir=/var/audit; p_minfree=20;

  • Add an audit.notice entry to the syslog.conf file should look like as below

    • cat /etc/syslog.conf

    • audit.notice /var/adm/auditlog

  • Create the log file.

    • touch /var/adm/auditlog

  • Refresh the configuration information for the syslog service.

    • svcadm restart system/system-log:default

...