Door Games Unlimited

Welcome, Guest.


Subject: Listing locked user accou Date: Sat Apr 21 2012 23:33:00
From: Chris Perrault To: All

I curious how others go about getting a listing of locked user accounts on
Linux?
I ask because where I work we use the getprpw command on our HP-UX machines,
but the same command isn't available on our RedHat servers. I did a Google and
found references to the -S of the passwd command. Since I can only enter one
username at a time, I was able to loop it in a for loop to get the desired
results, so I have something to work with. 
Since there's a probably a million ways to skin this cat, I figured I'd try to
see what others here might do as an alternative?

Chris

---
 ■ Synchronet ■ Diamond Mine Online - bbs.dmine.net - Fredericksburg, VA USA

Previous Message       Next Message
Replies: Listing locked user accou (Chris Trainor)