List all user's UID via Terminal

Hi Folks,

I'm curious of any Terminal commands that will list all UIDs of the accounts on a machine (localhost).

Background: I'm trying to troubleshoot a pesky Micosoft Office/server issue relating to duplicate UIDs, and want to send Unix command via ARD to make some progress...

I believe dscl is the right tool for the job, but I can't figure out how to get this info without going into the "interactive" mode.

Thanks in advance for any ideas/suggestions.

Lurch

iMac, Mac OS X (10.6.2)

Posted on Mar 9, 2010 5:59 PM

Reply
3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

List all user's UID via Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.