[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getting users IDs list
You could also just use the Netinfo application and browse to it.
SD
______________________________________________________________________
Previous message from Rodney Dyer on 3/3/04 at 11:58 PM -0600
**********************************************************************
>On other *nix systems they are found in the /etc folder. OS X has the
>proper files there, but user land stuff is not included in either the groups
>or passwd files. They are stored in data files in the netinfo db
>(/var/db/netinfo/local.nidb/Status.XXXX where XXXX is some number). These
>are binary files and you must have root (or sudo) priv to get to them. If
>you can get to them, it is easy to see what is inside. Just fire up your
>favorite hex editory and, for example, I can see that my the user rodney is
>uid 501 (starts at position 0x38), gid 20 (at 0x7b), in /Users/rodney, shell
>is bin/tcsh (never got around to changing that one), my password hint (in
>plain text!), my shadow password, my login picture, my .... You get the
>idea. If you want to use this information, you must either 1) have root
>priv or 2) use netinfo.
>
>R