Anyone know of software or a way to disable accounts automatically after a certain period where the user does not use the account. This is for a Novell server. If there are software that can do this for Windows that will be helpful too.

eg. User account 'jdoe' is disabled by the server or software if John Doe does not log in for a period of say 1 month.

I tried searching but I end up getting information on stuff that does not exactly suit my purpose.