I'd like to disable user accounts which were inactive specified time.
For example, user John was discharged. In 6 months his account must be
locked automatically.
In Windows-based systems it can be peformed by command:

"dsquery user -inactive 24 | dsmod user -disabled yes"

I need solution for Novell.
Help me please!