A brief version of the example from "The AIX Survival Guide" by Andreas Siegert, pub. Addison-Wesley might clear this up:
Add a script to /etc/security, myscript
-----------------
#!/usr/bin/ksh
trap "" 1 3 4 6 8 13 15 17 21 22 30 31
PATH=/usr/bin
MAX=2
NUM_LOGS=`who|egrep...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.