How to lock local user accounts after 30 days on inactivity and delete after 60 but not admin accounts

General support questions
Post Reply
jjugdeo
Posts: 1
Joined: 2021/03/17 05:07:18

How to lock local user accounts after 30 days on inactivity and delete after 60 but not admin accounts

Post by jjugdeo » 2021/03/17 05:20:35

Hi Centos community, I have been trying to fins a way to lock local user accounts after 30 days on inactivity and delete them after 60 days of inactivity, but accounts belonging to admin group must not be locked or deleted. Please help.

Post Reply