Warning about expiring account

Is there a way to make Linux warn users that their account is about to expire. Please do not mistake with password expire. Password aging is not what I’m after with this.

Lets say that I have a user and I’ve set his account to expire January first 2013. I’d like to system warn this user month before his account expires that he has x days before his account expires.

Perform a

man chage

and you’re already more than halfway. A cron + script could do the rest.

I was looking for something similar to password expiring warning but you are entirely right. That is simple enough way to achieve what I was looking for.