Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

IT Support & Help Desk Fundamentals  Module 6 – macOS and Linux client administration

macOS essentials: Settings, Finder, accounts

Find any setting, file or app on a Mac, read its sealed system volume and Library folders, and answer Apple Account and local account questions at work.

  • Beginner
  • 20 minutes
  • Examples run with Python 3.14.8 and Pyodide 314.0.7
  • By MySmartCoPilot
Free lesson, Pro answers: 20 minutes
Free: the whole lesson. With a pass: the model answers to its 2 interview questions.

What you will learn

  • Find settings, files and apps on a Mac with System Settings, Spotlight and Finder
  • Explain the macOS folder layout and why the system volume is read-only
  • Locate an app's caches, preferences and support files in a Library folder
  • Answer Apple Account, Managed Apple Account and Passwords questions with work rules in mind
  • Identify administrator, standard, sharing-only and managed administrator accounts

Before you start

What you’ll learn · Before you start

What you will learn

  • Find settings, files and apps on a Mac with System Settings, Spotlight and Finder
  • Explain the macOS folder layout and why the system volume is read-only
  • Locate an app's caches, preferences and support files in a Library folder
  • Answer Apple Account, Managed Apple Account and Passwords questions with work rules in mind
  • Identify administrator, standard, sharing-only and managed administrator accounts

Before you start

On this page

A user on a new Mac asks three things in the first five minutes of a call: where the printer settings went, why there is no Library folder in their home folder, and whether their own Apple Account can hold work files. Each has a precise answer, because macOS keeps every setting in one app with its own search field, the system on a sealed volume that nothing can change, and each app’s own files in a Library folder that Finder hides.

You will find a setting, an app and a path in seconds, read the two volumes a Mac runs from, open an app’s caches and settings in a practice home folder, tell a personal Apple Account from a Managed Apple Account, and pick the right kind of local account for each person on a Mac.

System Settings, Spotlight and one Terminal command answer the first questions

Most first questions on a Mac call are “where is it?”. Apple’s answer for settings is one app, System Settings: The macOS app that holds the Mac's system options, opened from the Apple menu, with its options grouped in a sidebar and a search field that lists the settings matching a word. Older guides call it System Preferences., opened from the Apple menu, with its options grouped in a sidebar. Its search field is the quickest route: type a word such as “printer” and the settings that match are listed under the field. An app’s own settings are elsewhere, in the app’s menu in the menu bar, under Settings. Older guides, and CompTIA’s A+ Core 2 objectives, still call the system app System Preferences, so a ticket that quotes that name means the same place.

Apps and files are found with Spotlight: The macOS search opened with Command-Space bar. It finds apps, files and other items by name as you type, and Return opens the top result.: press Command-Space bar, start typing, and press Return for the top result. Paths have their own shortcut in Finder, and the exact version of macOS comes from Terminal:

What the call needs The fastest way
A setting, by name the search field in System Settings
An app or a file Spotlight, Command-Space bar
A folder, by its path Finder, Go to Folder, Shift-Command-G
The size and kind of an item Finder, Get Info, Command-I
The version and build of macOS sw_vers in Terminal

The session below read those facts on the Mac used for this lesson, without changing anything:

The version, two app locations and the account's groups Python · mac-session/first_facts.py
from session import run

# The first facts for a ticket on a Mac, read without changing anything: the exact version and build, where the
# settings and password apps live on this version of macOS, and which of the standard groups the signed-in account
# belongs to (admin means an administrator account).
run(
    """
sw_vers
ls -d "/System/Applications/System Settings.app" /System/Applications/Passwords.app
!ls -d "/System/Applications/Utilities/Keychain Access.app"
ls -d "/System/Library/CoreServices/Applications/Keychain Access.app"
id -Gn | tr " " "\\n" | grep -x -E "admin|staff|everyone"
"""
)

Output

$ sw_vers
ProductName:		macOS
ProductVersion:		26.7.1
BuildVersion:		25G241
$ ls -d "/System/Applications/System Settings.app" /System/Applications/Passwords.app
/System/Applications/Passwords.app
/System/Applications/System Settings.app
$ ls -d "/System/Applications/Utilities/Keychain Access.app"
ls: /System/Applications/Utilities/Keychain Access.app: No such file or directory
[exit status 1]
$ ls -d "/System/Library/CoreServices/Applications/Keychain Access.app"
/System/Library/CoreServices/Applications/Keychain Access.app
$ id -Gn | tr " " "\n" | grep -x -E "admin|staff|everyone"
staff
everyone
admin

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 first_facts.py

The Mac runs macOS 26.7.1, build 25G241, and the build is the number that belongs in the ticket, because Apple’s release notes and security pages quote builds. System Settings and Passwords sit in /System/Applications. Keychain Access, which older guides send you to in Utilities, is not there on this version: the session found it in /System/Library/CoreServices/Applications. That is why Spotlight beats a remembered path. The last line lists the groups of the account that ran the session; the last section explains why admin in that list matters.

The exam objectives named here

MySmartCoPilot has no link with CompTIA. Its public A+ Core 2 objectives are cited for the names they use; every case and session in this lesson is this track’s own.

Two volumes: a sealed system and a writable data volume

A user asks why they cannot drag a font into /System/Library, and a script from an old forum fails with “read-only file system”. Both run into the same design. Since macOS 10.15 the system has lived on its own read-only volume, and since macOS 11 that volume is a signed system volume: The read-only volume a current Mac starts from. Every file on it has a SHA-256 hash in a tree whose top hash, the seal, is checked against Apple's signature when macOS installs or updates and when an Apple silicon Mac starts.: every file has a SHA-256 hash, and the hash of the whole tree, which Apple calls the seal, is checked against Apple’s signature when macOS installs or updates, and by the bootloader of an Apple silicon Mac before the kernel starts. Everything that changes, from users’ files to the apps they install, lives on a second volume. Step through the two:

Interactive · step by step The two volumes every Mac runs from Step through the system volume and the data volume. Each step lights the part a support technician needs to know.
The two volumes every Mac runs from, step 6 of 6. Showing System volume (Sealed Yes), /System, Apple apps, Data volume, /Users, /Applications, /Library. In focus: /Applications, /Library.System volumeSealed Yes/SystemmacOS itselfApple appsSettings and moreData volumeread and write/Usersevery home folder/Applicationsinstalled apps/Libraryshared by all

The drawing shows the whole scene; its 6 steps are listed below.

Every step as text
  1. The Mac starts read-only. The volume the Mac starts from, Macintosh HD, is mounted at / with the read-only flag: diskutil printed Volume Read-Only Yes for it. macOS itself lives there, in /System.
  2. The volume is sealed. Since macOS 11 every file on it has a SHA-256 hash, and the hash of the whole tree, the seal, is checked against Apple's signature when macOS installs or updates, and by the bootloader on Apple silicon before the kernel starts.
  3. Apple's apps live on it too. System Settings, Passwords and the other apps that come with macOS are in /System/Applications, on the sealed volume. Nothing on the Mac changes them; a macOS update replaces them.
  4. Everything else is on Data. The second volume, Data, is mounted at /System/Volumes/Data and is writable: diskutil printed Volume Read-Only No and Sealed No. Everything a person or an app changes is kept here.
  5. Home folders are in /Users. Each account has a home folder in /Users, with Desktop, Documents and Downloads, and a Library folder of its own that Finder hides, where that person's app settings and caches are kept.
  6. Installed apps and shared files. /Applications holds the apps people install. /Library holds what apps share between every user of the Mac; /System/Library, on the sealed volume, is reserved for Apple.

The session reads the same facts from the Mac itself:

The system volume and the data volume, read with diskutil Python · mac-session/two_volumes.py
from session import run

# Two volumes, read from the Mac itself: the system volume the Mac starts from, mounted read-only and sealed, and the
# data volume beside it, which holds the users, their files and the apps they install.
run(
    """
diskutil info / | grep -E "Volume Name|Mount Point|File System Personality|Volume Read-Only|Sealed"
csrutil authenticated-root status
diskutil info /System/Volumes/Data | grep -E "Volume Name|Mount Point|Volume Read-Only|Sealed"
ls -d /System /System/Applications /Library /Users /Applications
"""
)

Output

$ diskutil info / | grep -E "Volume Name|Mount Point|File System Personality|Volume Read-Only|Sealed"
   Volume Name:               Macintosh HD
   Mount Point:               /
   File System Personality:   APFS
   Volume Read-Only:          Yes (read-only mount flag set)
   Sealed:                    Yes
$ csrutil authenticated-root status
Authenticated Root status: enabled
$ diskutil info /System/Volumes/Data | grep -E "Volume Name|Mount Point|Volume Read-Only|Sealed"
   Volume Name:               Data
   Mount Point:               /System/Volumes/Data
   Volume Read-Only:          No
   Sealed:                    No
$ ls -d /System /System/Applications /Library /Users /Applications
/Applications
/Library
/System
/System/Applications
/Users

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 two_volumes.py

/ is Macintosh HD, mounted read-only and sealed, and Authenticated Root is enabled. The data volume is mounted at /System/Volumes/Data and is neither read-only nor sealed, which is where /Users, /Applications and /Library keep their contents. Apple’s file-system guide adds one more rule: /System/Library is reserved for Apple, and /Library holds what apps share between all the users of a Mac.

For support work the design has two consequences. A damaged system file is fixed by a macOS update or a reinstall, which the install lesson covers, never by editing /System. And the protection that keeps even administrators out of those folders, System Integrity Protection, is read in the macOS security lesson.

Patching a file in /System

Wrong: following an old guide that copies a changed file into /System/Library, then trying again with sudo when the copy fails. Right: the system volume is read-only and sealed, so a fix belongs on the data volume, in /Library or the user’s own Library, or arrives with a macOS update.

Checkpoint

Check: Finding settings, apps and versions · The sealed system volume and the data volume

  1. Question 1 of 2 A user cannot find where to change the Mac's display brightness. What is the quickest way to the setting?

    Choose one answer.

    Show the answer: Question 1 of 2

    Answer: Open System Settings and type "brightness" in its search field

    System Settings groups every system option in a sidebar and has a search field that lists matching settings. Spotlight finds apps and files, and an app's own settings are in its menu, under Settings.

  2. Question 2 of 2 An old guide tells a user to copy a changed file into /System/Library, and the copy fails even with sudo. Why?

    Choose one answer.

    Show the answer: Question 2 of 2

    Answer: The system volume is mounted read-only and sealed, so nothing changes files on it

    Since macOS 11 the system volume is signed and sealed, and it is mounted read-only. /System/Library is reserved for Apple; shared app files go in /Library and a person's own in ~/Library.

An app’s settings and caches live in a Library folder Finder hides

The user from the opening is right that their Library folder seems to be missing: Apple’s file-system guide says the user Library: The Library folder in a person's home folder, ~/Library, where apps keep that person's caches, preference files and support files. Finder hides it; holding Option in the Go menu, or Go to Folder, opens it. has been hidden since macOS 10.7. It is still there, at ~/Library. In Finder, hold Option and open the Go menu, and Library appears in it; or use Go to Folder and type ~/Library/. Terminal lists it with a plain ls, because the hidden flag only hides an item from the graphical interface.

Inside, an app’s files are named after its bundle ID: The reverse-DNS name, such as com.example.notes, that identifies one app throughout macOS. It uses only letters, digits, hyphens and periods, and an app's caches, preferences file and support folder are named after it., the reverse-DNS name that Apple’s documentation says identifies one app throughout the system, written with letters, digits, hyphens and periods, such as com.example.notes. Apple’s guide gives each of three folders its own job:

  • Caches/<bundle ID> holds data the app can rebuild: Apple says an app does not require its cache data to work properly, and the system may delete Caches to make room on the disk.
  • Preferences/<bundle ID>.plist holds the app’s settings, written through Apple’s preferences interface rather than by hand.
  • Application Support/<bundle ID or company> holds files the app needs in order to run, often the user’s data.

The session builds a home folder in that layout for an example app and reads it:

One app's caches, preferences and support files Python · mac-session/library_session.py
from session import run

MIB = 1024 * 1024

# A home folder laid out the way macOS lays one out, for an example app whose bundle ID is com.example.notes. The
# commands only read: the hidden Library folder, the app's three places in it, its settings file and two sizes.
PREFS = """<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AutosaveMinutes</key>
	<integer>10</integer>
	<key>ShowSidebar</key>
	<true/>
	<key>SyncFolder</key>
	<string>Documents/Notes</string>
</dict>
</plist>
"""

run(
    """
ls
ls -a
ls -lgoOd Library Documents
ls Library
ls Library/Preferences
plutil -p Library/Preferences/com.example.notes.plist
du -sh Library/Caches/com.example.notes "Library/Application Support/com.example.notes"
""",
    files={
        "Library/Preferences/com.example.notes.plist": PREFS,
        "Library/Preferences/com.apple.finder.plist": "<plist version=\"1.0\"><dict/></plist>\n",
        "Documents/Notes/team-meeting.txt": "Agenda: printer move, new joiner laptops\n",
        ".zshrc": "# shell settings for this account\n",
    },
    blobs={
        "Library/Caches/com.example.notes/thumbnails.db": 18 * MIB,
        "Library/Caches/com.example.notes/web/page-cache.bin": 6 * MIB,
        "Library/Application Support/com.example.notes/notes.sqlite": 3 * MIB,
    },
    dirs=["Desktop", "Downloads", "Library/Logs"],
    hidden=["Library"],
)

Output

$ ls
Desktop
Documents
Downloads
Library
$ ls -a
.
..
.zshrc
Desktop
Documents
Downloads
Library
$ ls -lgoOd Library Documents
drwxr-xr-x@ 3   -       96 Sep  1 09:00 Documents
drwxr-xr-x@ 6   hidden 192 Sep  1 09:00 Library
$ ls Library
Application Support
Caches
Logs
Preferences
$ ls Library/Preferences
com.apple.finder.plist
com.example.notes.plist
$ plutil -p Library/Preferences/com.example.notes.plist
{
  "AutosaveMinutes" => 10
  "ShowSidebar" => true
  "SyncFolder" => "Documents/Notes"
}
$ du -sh Library/Caches/com.example.notes "Library/Application Support/com.example.notes"
 24M	Library/Caches/com.example.notes
3.0M	Library/Application Support/com.example.notes

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 library_session.py

ls -lgoOd shows the hidden flag on Library, the flag Finder reads, while plain ls still lists the folder. plutil -p prints the preferences file as keys and values, such as AutosaveMinutes => 10. And du -sh makes the difference between the folders concrete: the caches hold 24M, the support folder 3.0M, and the support folder is the one with the notes in it.

Resetting an app by deleting its folders

Wrong: removing everything named after the app in Library because a forum says it “resets” the app. Right: quit the app, then clear only its Caches folder, which the app can rebuild; treat Application Support as user data and back it up before anything in it is touched.

A Library also exists at the top of the disk. /Library serves every user of the Mac, and an app installed for all users keeps its shared files there, while ~/Library is one person’s. The data storage converter turns sizes such as 24M into the units a user’s storage screen shows.

Key idea

Find the app’s bundle ID first: its caches, its preferences file and its support folder are all named after it, in the person’s hidden Library or in the shared one.

Checkpoint

Check: An app's files in the Library

  1. Question 1 of 3 A user says their home folder has no Library folder. What is true?

    Choose one answer.

    Show the answer: Question 1 of 3

    Answer: It is there but hidden; Option and the Go menu, or Go to Folder with ~/Library/, opens it

    Finder reads the hidden flag and leaves ~/Library out; Terminal does not. The practice session showed the flag on Library with ls -lgoOd and listed the folder with plain ls.

  2. Question 2 of 3 An app with the bundle ID com.example.notes misbehaves. Which of its folders can you clear first, with the app quit, without losing the user's work?

    Choose one answer.

    Show the answer: Question 2 of 3

    Answer: ~/Library/Caches/com.example.notes

    Caches can be rebuilt; preferences hold settings the user may want back; Application Support is data. Quit the app first and back up Application Support before touching it.

  3. Question 3 of 3 Which of these could be a bundle ID?

    Choose one answer.

    Show the answer: Question 3 of 3

    Answer: org.example.backup-agent2

    The system uses the bundle ID to identify an app, for example when applying its preferences, which is why the Caches, Preferences and Application Support entries are named after it.

Apple Account, Managed Apple Account and where passwords live

The third question from the opening, whether a personal Apple Account can hold work files, has two layers. An Apple Account: A person's own sign-in for iCloud, the App Store and Apple's other services. Apple advises against sharing it, so a technician guides the user through signing in rather than taking the password. is the person’s own sign-in for iCloud, the App Store and Apple’s other services, and Apple’s support pages say it should not be shared with others. So a technician never asks for that password or types it for a user; a user who has forgotten it resets it through Apple’s own recovery, which starts from a trusted device or a trusted phone number.

Organisations that want work data under their own control give staff a Managed Apple Account: An Apple Account that an organisation designs, owns and manages for its staff, separate from their personal accounts, created by hand or synchronised from the organisation's identity provider. instead. Apple’s deployment guide describes these as owned and managed by the organisation, separate from personal accounts, and created by hand or synchronised from Google Workspace, Microsoft Entra ID or another identity provider. Apple Business Manager, where a business creates them, is now called Apple Business.

Personal Apple Account Managed Apple Account
Owned by the person the organisation
Created by the person the organisation, by hand or from its directory
iCloud every service the person has some iCloud services, media and store content excluded
Work files outside the organisation’s control the organisation can limit sharing to colleagues

The table’s last row is the support answer: on a company Mac, work files belong in what the organisation provides, not in a personal iCloud Drive. A user signs in to either kind of account from the Apple Account item at the top of System Settings, typing the password themselves.

Passwords have their own app now. The Passwords app: The macOS app that shows a user's passwords, passkeys and verification codes in one place. Keychain Access remains for managing certificates. shows a user’s passwords, passkeys and verification codes in one place, and Keychain Access remains for certificates, the ones macOS uses to check the identity of websites and servers. Neither is something to open on a user’s behalf without them watching.

A password read out on a call is a password shared

When a user offers their Apple Account password so that you can “just sign in”, stop them and let them type it. If they cannot remember it, walk them to Apple’s own reset with their trusted device. The ticket records what you did, never the password.

Checkpoint

Check: Apple Accounts at work

  1. One question Who owns a Managed Apple Account?

    Choose one answer.

    Show the answer: One question

    Answer: The organisation that created it

    Ownership decides control: the organisation chooses which services a Managed Apple Account reaches and how its files may be shared.

Three kinds of local account decide what a person may change

Every Mac also has local accounts, set in Users & Groups in System Settings. Apple names three types a person can be given. An administrator can add and manage other users, install apps and change settings, and the first account made when a Mac is set up is one; Apple warns never to set an administrator to log in automatically. A standard user can install apps and change their own settings, but cannot add users or change other users’ settings. A Sharing Only user reaches shared files over the network and cannot log in at the Mac at all.

Organisations add a fourth. A device management service can create a managed administrator account while a Mac is enrolled through Automated Device Enrollment, hide it from Users & Groups and change its password remotely, so the IT team keeps a way in without sharing a password. The session’s last line showed admin among the groups of the account that ran it, which is how id -Gn marks an administrator. Answer two questions about a person to choose:

Interactive · answer and compare Which kind of account does this person need? Answer two questions about the person and the Mac. The table marks the account types that fit and says why the others are out.
Who is the account for?
Is the Mac enrolled in a device management service?

Answer the questions above: the table then marks what fits your case and says why the rest does not.

Four kinds of Mac account against the four things that decide between them
Account Own apps and settings Other users Logs in at the Mac Who controls it
Administrator Set up by: the first setup, or an administrator Good installs apps and changes any setting Good adds and manages other users Good logs in; never set it to log in automatically Mixed whoever knows its password
Standard Set up by: an administrator Good installs apps and changes their own settings Poor cannot add users or change other users' settings Good logs in for daily work Good an administrator sets it up
Sharing Only Set up by: an administrator Poor cannot change settings Poor no access to users or settings Poor cannot log in; reaches shared files remotely Good an administrator sets it up
Managed administrator Set up by: the device management service Good an administrator account for IT work Good manages users like any administrator Mixed can be hidden from Users & Groups Good its password can be changed remotely
How the answers decide
  • “Who is the account for?” Someone who only opens shared files over the network: rules out Administrator, Standard and Managed administrator. Sharing Only users reach shared files remotely but cannot log in at the Mac or change settings, which is all this person needs.
  • “Who is the account for?” A person who works on this Mac every day: rules out Sharing Only and Managed administrator and adds a caveat to Administrator. A standard account installs apps and changes its own settings; an administrator can also add users and change settings for everyone.
  • “Who is the account for?” The IT team's own access and “Is the Mac enrolled in a device management service?” Yes, through Automated Device Enrollment: rules out Standard and Sharing Only and adds a caveat to Administrator. A managed administrator account comes from the device management service, which can hide it and change its password remotely.
  • “Who is the account for?” The IT team's own access and “Is the Mac enrolled in a device management service?” No: rules out Standard, Sharing Only and Managed administrator. A managed administrator account is created by a device management service, so a Mac outside one uses an ordinary administrator account.

In short: daily work on a company Mac fits a standard account, the IT team’s own access a managed administrator account where device management exists, and file sharing alone a Sharing Only user. Windows draws the same line between standard users and administrators, as the Windows accounts lesson shows.

Checkpoint

Check: Local account types

  1. Question 1 of 2 What can a standard user on a Mac do?

    Choose one answer.

    Show the answer: Question 1 of 2

    Answer: Install apps and change their own settings

    An administrator manages users and every setting; a standard user manages their own; a Sharing Only user reaches shared files remotely and cannot log in at the Mac.

  2. Question 2 of 2 A consultant only needs to open files a colleague shares from her Mac over the office network. Which account type fits?

    Choose one answer.

    Show the answer: Question 2 of 2

    Answer: Sharing Only

    Give each person the least the job needs. File sharing alone is exactly what a Sharing Only user is for.

Practise: name an app’s three places

A ticket about an app that misbehaves usually needs its folders before anything else. Write the function that turns a bundle ID into the app’s caches folder, preferences file and support folder, for one user or for the whole Mac, and make it refuse a name that cannot be a bundle ID. The self-check after it covers all five sections.

Exercise · Easy · Python

Find an app's three places in a Library folder

Write library_paths(bundle_id, scope="user") so that it returns the three places a Mac app keeps its own files, for the bundle ID a technician has read from the app.

Return a dict with three keys:

  • "caches": the app's folder in Library/Caches;
  • "preferences": the app's preferences file in Library/Preferences, named after the bundle ID with .plist added;
  • "support": the app's folder in Library/Application Support.

For scope="user" the paths start with ~/Library/, the person's own Library; for scope="computer" they start with /Library/, the one shared by every user of the Mac. So library_paths("com.example.notes")["preferences"] is "~/Library/Preferences/com.example.notes.plist".

Refuse what is not a bundle ID, with a ValueError: Apple's documentation allows only letters, digits, hyphens and periods, and a bundle ID is written in reverse-DNS form, so it needs at least two parts separated by periods and no empty part (com..notes, .com.notes and notes are all refused). Refuse any scope other than "user" or "computer" too.

Starter code · library_paths.py

def library_paths(bundle_id, scope="user"):
    """Return the caches folder, preferences file and support folder of an app, as a dict of three paths."""
    return {"caches": "", "preferences": "", "support": ""}
The sample tests · test_library_paths.py
from library_paths import library_paths


def raises_value_error(*args):
    try:
        library_paths(*args)
    except ValueError:
        return True
    return False


def test_user_paths_for_the_lesson_app():
    assert library_paths("com.example.notes") == {
        "caches": "~/Library/Caches/com.example.notes",
        "preferences": "~/Library/Preferences/com.example.notes.plist",
        "support": "~/Library/Application Support/com.example.notes",
    }


def test_computer_scope_uses_the_shared_library():
    assert library_paths("com.example.notes", "computer") == {
        "caches": "/Library/Caches/com.example.notes",
        "preferences": "/Library/Preferences/com.example.notes.plist",
        "support": "/Library/Application Support/com.example.notes",
    }


def test_hyphens_and_digits_are_allowed():
    paths = library_paths("org.example.backup-agent2")
    assert paths["preferences"] == "~/Library/Preferences/org.example.backup-agent2.plist"


def test_one_part_is_refused():
    assert raises_value_error("notes")


def test_empty_parts_are_refused():
    assert raises_value_error("com..notes")
    assert raises_value_error(".com.notes")
    assert raises_value_error("com.notes.")


def test_other_characters_are_refused():
    assert raises_value_error("com.example.my notes")
    assert raises_value_error("com.example.notes_app")


def test_unknown_scope_is_refused():
    assert raises_value_error("com.example.notes", "system")
A hint

Check the input first. bundle_id.split(".") gives the parts; every part must be non-empty, there must be at least two, and every character must be a letter, a digit or a hyphen (ch.isascii() and (ch.isalnum() or ch == "-")). Then pick the start of the path from the scope, ~/Library or /Library, and build the three paths with f-strings.

The sample tests run on this device, in your browser (Pyodide): nothing is sent to mysmartcopilot.com. The first run downloads Python (about 13.5 MB), which is kept for the next runs. A check in your browser is feedback for you, not proof that the code is right for every input.

Practice that adapts to you

Practise this lesson

12 questions about 5 ideas of this lesson. Each answer is explained at once, and what you get right is kept in this browser.

  1. Question 1 of 12 Which keys open Spotlight?

    Choose one answer.

    Show the answer: Question 1 of 12

    Answer: Command-Space bar

    Spotlight finds apps and files by name; System Settings' own search field finds settings, and Go to Folder opens a path.

  2. Question 2 of 12 Why does the ticket need the build that sw_vers prints, such as 25G241, and not only 26.7.1?

    Choose one answer.

    Show the answer: Question 2 of 12

    Answer: Apple's release notes and security pages quote builds, so the build pins down exactly what is installed

    ProductVersion and BuildVersion together say exactly which macOS is running, which matters when a fix applies to one build and not another.

  3. Question 3 of 12 A guide says to open Keychain Access from Utilities, but the user cannot find it there on macOS 26. What do you do?

    Choose one answer.

    Show the answer: Question 3 of 12

    Answer: Open it with Spotlight, which finds it wherever this version keeps it

    Paths move between versions; names do not. Spotlight is the reliable way to open an app whose folder a guide no longer matches.

  4. Question 4 of 12 Where are users' home folders kept on a current Mac?

    Choose one answer.

    Show the answer: Question 4 of 12

    Answer: On the writable data volume, under /Users

    Everything that changes lives on the data volume: home folders, installed apps in /Applications and shared files in /Library.

  5. Question 5 of 12 When is the seal of the system volume checked against Apple's signature?

    Choose one answer.

    Show the answer: Question 5 of 12

    Answer: When macOS installs or updates, and on Apple silicon by the bootloader before the kernel starts

    Every file's SHA-256 hash is part of a tree whose top hash is the seal, so any change to system content is caught when it is read or when the Mac starts.

  6. Question 6 of 12 Where is the settings file of an app with the bundle ID com.example.notes, for one user?

    Choose one answer.

    Show the answer: Question 6 of 12

    Answer: ~/Library/Preferences/com.example.notes.plist

    plutil -p prints such a file as keys and values, as the practice session did with AutosaveMinutes => 10.

  7. Question 7 of 12 An app installed for every user of a Mac keeps shared files. Where do they go?

    Choose one answer.

    Show the answer: Question 7 of 12

    Answer: /Library, the Library shared by all users

    Three Libraries, three owners: /System/Library is Apple''s, /Library serves the whole Mac and ~/Library one person.

  8. Question 8 of 12 A user offers to read out their Apple Account password so that you can sign in for them. What do you do?

    Choose one answer.

    Show the answer: Question 8 of 12

    Answer: Stop them, let them type it themselves, and send them to Apple's reset if they have forgotten it

    The person signs in to their own account; the technician guides. A ticket records the steps, never the password.

  9. Question 9 of 12 Your organisation issues Managed Apple Accounts. A user wants work documents in their personal iCloud Drive "to work from home". What is the best answer?

    Choose one answer.

    Show the answer: Question 9 of 12

    Answer: Keep work files in what the organisation provides; its Managed Apple Account can reach iCloud Drive under its rules

    Personal and Managed Apple Accounts can sit side by side; the support answer is which one holds which data, and that is the organisation's decision.

  10. Question 10 of 12 Which setting does Apple say an administrator account should never have?

    Choose one answer.

    Show the answer: Question 10 of 12

    Answer: Automatic login

    Automatic login lets anyone who restarts the Mac in as that user; with FileVault on, macOS turns automatic login off.

  11. Question 11 of 12 An IT team wants its own administrator access to 200 enrolled Macs without sharing one password among staff. What fits?

    Choose one answer.

    Show the answer: Question 11 of 12

    Answer: A managed administrator account created by the device management service

    A managed administrator account keeps IT's access in the management service, where its password can be changed without visiting any Mac.

  12. Question 12 of 12 On a current Mac, where does a user see their saved passwords, passkeys and verification codes?

    Choose one answer.

    Show the answer: Question 12 of 12

    Answer: In the Passwords app

    The user opens it and reads their own entries; a technician never asks for those passwords, and never for the Apple Account password.

Interview questions

Warm-up (fresher): where does a Mac app keep one person’s settings, caches and support files, and why can they not see them in Finder?

In that person’s Library folder, ~/Library, in three places named after the app’s bundle ID, such as com.example.notes: Caches for data the app can rebuild, Preferences for its settings file, a .plist named after the bundle ID, and Application Support for files the app needs to run, which often include the person’s own data. Finder does not show the folder because macOS has hidden the user Library since 10.7, to keep people away from files they rarely need. It is still there: hold Option and open Finder’s Go menu, or use Go to Folder with ~/Library/, and Terminal lists it with ls. Before touching anything, quit the app; caches can be cleared, but Application Support is backed up first.

Two harder calls come next: moving a new joiner from a personal Apple Account to a Managed Apple Account, and a standard user who asks for the administrator password to install an app. Settle what you would say in the first ten seconds of each, then check it against the first step on its page:

Model answers open with any pass: ₹79 for 1 week ($2.99), one payment that never renews.

  1. Mid to senior

    A new joiner has used a personal Apple Account on their company Mac for six months, with Desktop and Documents stored in iCloud Drive. The organisation now issues Managed Apple Accounts. How do you move their work over without losing it or leaving copies behind?

    Model answer, Pro. Model answers open with any pass; prices are in the notice on this page. First step and follow-ups

  2. Fresher to mid

    A standard user on a company Mac needs an app whose installer asks for an administrator's name and password, and asks you for the admin password. What do you do?

    Model answer, Pro. First step and follow-ups

Flashcards · 6 cards

Recall it, then check

Say the answer to yourself before you look: recalling it is what makes it stick.

  1. Which three tools answer a Mac user's first questions on a call?

    The search field of System Settings finds a setting by name, Spotlight, opened with Command-Space bar, finds apps and files, and sw_vers gives the version and build that the ticket needs.

  2. Why does a fix on a Mac go into /Library or a user's Library, never into /System?

    macOS runs from a sealed, read-only system volume and keeps everything that changes on a writable data volume.

  3. Where does a Mac app keep one person's settings, caches and support files?

    In that person's hidden Library, in three places named after the app's bundle ID, such as com.example.notes: Caches for data it can rebuild, Preferences for its .plist settings file, and Application Support, which often holds the user's own data.

  4. Finder hides the user Library. How do you open it?

    Hold Option in Finder's Go menu, or use Go to Folder.

  5. Who signs in with a user's personal Apple Account during a support call?

    Only the user: it is never shared, not even with the help desk, so the technician guides them through it. A Managed Apple Account belongs to the organisation, which decides what it can reach.

  6. Which kinds of local account does a Mac have, and how does IT keep its own access?

    Administrator, standard and Sharing Only, each with different rights. A managed administrator account lets IT keep its access without sharing a password.

Key takeaways

  • System Settings’ search field finds a setting by name, Spotlight finds apps and files with Command-Space bar, and sw_vers gives the version and build a ticket needs.
  • macOS runs from a sealed, read-only system volume and keeps everything that changes on a writable data volume, so fixes go into /Library or a user’s Library, never into /System.
  • An app’s files are named after its bundle ID: caches it can rebuild, a preferences .plist, and an Application Support folder that often holds the user’s data.
  • A personal Apple Account is never shared, not even with the help desk, and a Managed Apple Account is owned by the organisation, which decides what it can reach.
  • Administrator, standard and Sharing Only accounts give different rights, and a managed administrator account lets IT keep its own access without sharing a password.

Terms in this lesson

Apple Account
A person's own sign-in for iCloud, the App Store and Apple's other services. Apple advises against sharing it, so a technician guides the user through signing in rather than taking the password.
bundle ID
The reverse-DNS name, such as com.example.notes, that identifies one app throughout macOS. It uses only letters, digits, hyphens and periods, and an app's caches, preferences file and support folder are named after it.
Managed Apple Account
An Apple Account that an organisation designs, owns and manages for its staff, separate from their personal accounts, created by hand or synchronised from the organisation's identity provider.
Passwords app
The macOS app that shows a user's passwords, passkeys and verification codes in one place. Keychain Access remains for managing certificates.
signed system volume
The read-only volume a current Mac starts from. Every file on it has a SHA-256 hash in a tree whose top hash, the seal, is checked against Apple's signature when macOS installs or updates and when an Apple silicon Mac starts.
Spotlight
The macOS search opened with Command-Space bar. It finds apps, files and other items by name as you type, and Return opens the top result.
System Settings
The macOS app that holds the Mac's system options, opened from the Apple menu, with its options grouped in a sidebar and a search field that lists the settings matching a word. Older guides call it System Preferences.
user Library
The Library folder in a person's home folder, ~/Library, where apps keep that person's caches, preference files and support files. Finder hides it; holding Option in the Go menu, or Go to Folder, opens it.

References

Related tools

Report a problem with this lesson

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.