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.


You can just check who owns your home directory, using stat /mnt/Users/weberc2 for example. This is the UID that actually matters, anyway.

  • That's helpful, but I would like to know the UID of my account as well, in case they are different. I already figured that out and posted the corresponding answer. Thanks for your assistance! – weberc2 Feb 24 '12 at 9:40
  • They are almost never different; files that you create are owned by you. – grawity Feb 24 '12 at 11:20
  • Yep. Long story, but my circumstances required me to check both. I voted up your answer because it was helpful. – weberc2 Feb 24 '12 at 17:43

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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.