December 2008
Intermediate to advanced
320 pages
6h 45m
English
One common scripting technique is to create a flat file that is one of a potential number of canned messages for users to receive—messages such as notifications of downtimes, changes in the environment, or use of system quota. (I consider a flat file simply a file that contains text.) Based on the logic in the script, the proper message will be sent to the user or users. A more advanced implementation of this technique provides a template that refers to environment variables and contains customizable elements so the message can be tailored specifically to the recipient.
In Chapter 36, I present a script that checks every morning for user passwords that are aging and therefore should be changed. In ...
Read now
Unlock full access