How do you view Mac OSX user id without having to boot into OSX? I can mount the drive, but I can't find the UID for my user, which would hopefully enable me to access files without being root.
Asked
Active
Viewed 929 times
2 Answers
2
You can just check who owns your home directory, using stat /mnt/Users/weberc2 for example. This is the UID that actually matters, anyway.
grawity
- 501,077
1
I found my answer here. This is the UID that's tied to the user account.
According to this article, the user information can be found in this file
/var/db/dslocal/nodes/Default/users/{user-name}.plist
I verified and the UID was at the bottom of the file, in my case. There's also some business about a generateduid, but that's not what you want, so ignore that.
weberc2
- 428
- 3
- 11