Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Mar 10, 2010 6:53 AM

Or if UID means numeric uid then

dscl . -list /Users UniqueID
3 replies

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 ID.