Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listing SCO Openserver usernames

Status
Not open for further replies.
Aug 22, 2003
44
US
I need to list the usernames on a SCO box (openserver 5.06)we have to make sure no accounts are old and are allowing ex-employees access. Our SCO box is managed via outsource, but they charge too much to do simple stuff like this, when i just need to figure it out! Help a windows admin out, man!
 
Assuming you have root access, see: man passwd

for i in `cat /etc/passwd | cut -d":" -f1`
do
passwd -s $i
done

 
Try this:
Code:
passwd -s -a
And feel free to do a
Code:
 man passwd

Hope This Help
PH.
 
ok so i took the long, out of the way, down the block, accross the park, through the alley, up the fire escape, over the roof, in the skylight, way to explain something and then ignored my own advice...........
 
Beautiful. I have root and the passwd -s -a works. thats what i needed. thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top