Need Password Expiry Script for Unix System accounts
I am running a Linux FTP server having around 100 systems accounts for which I need password expiry script which could use "email" package and send mails for warning, expiration of accounts etc. The accounts are not user name based but deptt name based and users are being defined on the GECOS field. So, need that mails should be sent to the IDs (mails IDs) defined on GECOS field.
If anyone can guide me on this, it will be helpful for me.
Thanks in advance.