Benches macOS

3

List all user's UID via Terminal

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Jun T.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Or if UID means numeric uid then


    dscl . -list /Users UniqueID

  2. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    run


    dscl . list /users

  3. 0

    Lurch66

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Jun,

    Thanks, perfect! Just what I was looking for.

    Cheers, Lurch