home *** CD-ROM | disk | FTP | other *** search
- ; PWRDWARN.PPS -- A program to warn callers about expiring passwords both
- ; by announcing it on the screen and also by writing a
- ; message to the caller.
- ;
- ; This PPL program is to be attached to record #711 in your PCBTEXT file.
- ; You can do this automatically by issuing the following command:
- ;
- ; MKPCBTXT C:\PCB\GEN\PCBTEXT /I:711 !PWRDWARN.PPE
- ;
- ; The PWRDWARN.PPE can include a full path specification. Example:
- ;
- ; MKPCBTXT C:\PCB\GEN\PCBTEXT /I:711 !C:\PPE\PWRDWARN.PPE
- ;
- ; You must place the PWRDWARN.MSG in the same subdirectory as the PWRDWARN.PPE
- ; file.
- ;
- ; Finally, you may want customize the source code below. Specifically, you
- ; might want to alter the FROM name and SUBJECT text. Also, the number of
- ; days to leave the message online before packing it out is defaulted to 3.
- ; You can adjust that be modifying the DATE()+3 to DATE()+ whatever.
- ;
- ;-----------------------------------------------------------------------------
-
-
-
- ; First tell the caller, if he is 'live', that the password will soon expire.
- println "Your password will expire in @OPTEXT@ days. Use the (W) command to change it."
-
- ; In case the caller is coming in 'automated', let's leave the caller a
- ; message in the current conference to indicate that the password will soon
- ; expire. By leaving a message, hopefully the automated call might include
- ; downloading new mail and get the message to the caller before the password
- ; expires.
- message CURCONF(),"","SYSOP","PASSWORD WARNING","R",DATE()+3,0,0,PPEPATH()+"PWRDWARN.MSG"