where is the root user's home directory located on a mac os x file system
Home directory The Unix superuser has access to all directories on the filesystem, and hence can access home directories of all users. The superuser's home directory on older systems was /, but on many newer systems it is located at /root (Linux, BSD), or /var/root (Mac OS X).
Single user mode Unix-like operating systems provide single user mode functionality either through the System V-style runlevels, BSD-style boot-loader options, or other boot-time options.
Apple ID iTunes Store, App Store (for iOS apps), Mac App Store, iBooks Store, and Newsstand all make use of Apple ID. To
Superuser In Unix-like computer OSes, root is the conventional name of the user who has all rights or permissions (to all files and programs) in all modes (single- or multi-user). Alternative names include baron in BeOS and avatar on some Unix variants.[2] BSD often provides a toor ("root" written backward) account in addition to a root account.[3] Regardless of the name, the superuser always has a user ID of 0. The root user can do many things an ordinary user cannot, such as changing the ownership of files and binding to network ports numbered below 1024.
sudo sudo (/ˈsuːduː/[3] or /ˈsuːdoʊ/[3][4]) is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser.[5] It originally stood for "superuser do"[6] as the older versions of sudo were designed to run commands only as the superuser. However, the later versions added support for running commands not only as the superuser but also as other (restricted) users, and thus it is also commonly expanded as "substitute user do".[7][8] Although the latter case reflects its current functionality more accurately, sudo is still often called "superuser do" since it is so often used for administrative tasks.
macOS macOS (pronounced /ˌmækoʊˈɛs/;[6] previously Mac OS X and later OS X) is the current series of Unix-based graphical operating systems developed and marketed by Apple Inc. designed to run on Apple's Macintosh computers ("Macs"). It has been preinstalled on all Macs since 2002. Within the market of desktop, laptop and home computers, and by web usage, it is the second most widely used desktop OS after Microsoft Windows.[7][8]