#!/usr/bin/ksh # set -xv # B. Polarski # 06 June 2005 WK_SBIN=$SBIN/module2/s3 HOST=`hostname` HOST=`echo $HOST | awk '{ printf ("%-+15.15s",$1) }'` # ------------------------------------------------------------------------------------- function help { cat < -prm -a : List Active Statement Audit Options -p : List Active Privilege Audit Options -o : List Active Objects Audit Options -m : List last connection for user -prm : List audit related parameters aud -lp : List policy rules from fga$ aud -ll : audit last statement inserted into fga_log$ aud -t [-u ] : Get the policy name from a given object aud -ll -n [-u ] : restrict search to given arguments -v : verbose EOF } # ------------------------------------------------------------------------------------- function do_execute { $SETXV sqlplus -s "$CONNECT_STRING" <