| apr2004.tar |
Listing 1 privileged_login
# Program: privileged_login # # Description: # # This script, called from /etc/profile or # elsewhere in the environment, calls the create_alert_file which # creates an alert# if the user logs in as $REAL_USER, # typically root or admin. #************************************************************** sudo -u monitor /opt/monitor/bin/create_alert_file \ -p high \ -c `basename $0`-$$ \ -s "$TERM_USER became $REAL_USER" \ < /dev/null return 0 |