Hi,
I need a script to change users password every 30 days by using passwd command ,because of i don't want to migrate Enchanced Sec.
I already wrote one but it's only works at specific times like every 20th days of month ,it's not so usefull because if a user on holiday script won't work and the user gonna miss the password changing time.But i want a script which when a user get login ,it has to look login time of user and if user try to login 30th times change of it's password by user using passwd command in script.
I hope it's clear
Thanks for any help.