I need to write a script that will notify users of their password expiration after logging in to to
a Win95 client. The text file with the user's password expiration date will reside in their
$HOME directory. The script will reside in the Windows startup folder. The script should
compare the date in the file with the system date, and print a "Password will expire in x days"
message if the date in the file is less than 5 days than the current (system) date.
The script will also need to update the file in the user's $HOME directory with the new
password expiration date after the user changes his or her password.
Can I accomplish this with perl? I would appreciate some source code to help me write
this solution. I installed Perl for Win95 and I want to start using its functionality, but I think I
need some help to get off the ground. I am digesting all the documentation now, but I have to
write this solution now!
Thanks in advance for your help!