System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Find User id's locked on today only

kgpenator
Advisor

Find User id's locked on today only

Hi All,

In a trusted system (HP-UX), how to list  user's id which was locked today only?.

I am in need to generate the report for each and every day....

Thanks in advance

1 REPLY
Dennis Handly
Acclaimed Contributor

Re: Find User IDs locked on today only

I don't see anything obvious that indicates when a password was locked.  Just changed, success or fail.

And login, success or fail.

 

So it appears you would have to keep your own database of IDs that are locked and if new print it.

getprpw -m uid,lockout | grep -v lockout=0000000 | sort