1832992 Members
2386 Online
110048 Solutions
New Discussion

Disabled Users

 
SOLVED
Go to solution
Yvonne Butler
Regular Advisor

Disabled Users

Does anyone know if there is a quick and easy way of discovering how many user accounts there are on a system that are disabled. If this is possible, can we discover what the user account ID's are that have been disabled?

Many thanks
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: Disabled Users

grep '*' /etc/passwd


Pete

Pete
Sanjay_6
Honored Contributor

Re: Disabled Users

Hi,

Try this script.


Hope this helps.

Regds
Yvonne Butler
Regular Advisor

Re: Disabled Users

Thanks Pete, that was exactly what I was looking for...