miteshdmanek
Technical User
I need to run a script/command to identify users on my system that haven't logged in within the last 30/60/90 days.
What is the best way of going about this? I'm guessing doing a query on /etc/lastlog? How do I convert the date.
If someone has an example of a script that can do this that would be great!
What is the best way of going about this? I'm guessing doing a query on /etc/lastlog? How do I convert the date.
If someone has an example of a script that can do this that would be great!