sat_echo man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



sat_echo(1M)							  sat_echo(1M)

NAME
     sat_echo - echo standard input into the system audit trail

SYNOPSIS
     sat_echo { -F | -S } satevent

DESCRIPTION
     sat_echo inserts the data from its standard input into the system audit
     trail.  (Only the first 65535 bytes of standard input are used; the rest
     are discarded.)  Use sat_echo in shell scripts that enforce security
     policy and must generate audit records.

OPTIONS
     Either -F or -S must be supplied, but not both at once.  satevent is a
     required argument.

     The options are:

     -F		The action described by this audit record failed.

     -S		The action described by this audit record succeeded.

     satevent	The printed representation of an audit event type, as
		described in sat_strtoevent(3).	 If you want to customize the
		audit trail with the addition of event types specific to your
		site, use the sat_ae_custom event type.	 If you need to
		distinguish between different types of sat_ae_custom events,
		structure the event specific data so that it begins with a
		sub-event type.

EXAMPLE
     Suppose a site security officer (SSO) wanted to make sure that the
     auditor was made aware of any changes to system databases in /etc.	 After
     the system was installed, the SSO would have created a master file
     describing the /etc tree.

	  find /etc -print | xargs ls -dlM > /var/adm/etc-master

     A shell script is run nightly that compares the current state of the /etc
     tree with the state when the master was made.  When discrepancies are
     found, an audit record is generated.

	  find /etc -print | xargs ls -dlM > /tmp/etc-tonight
	  diff /var/adm/etc-master /tmp/etc-tonight > /tmp/etc-diff
	  if [ -s /tmp/etc-diff ]
	       sat_echo -F sat_ae_custom < /tmp/etc-diff
	  else
	       echo "Nightly /etc check shows no discrepancies." | \
	       sat_echo -S sat_ae_custom
	  fi

									Page 1

sat_echo(1M)							  sat_echo(1M)

SEE ALSO
     satwrite(2), sat_strtoevent(3).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net