Praktyczne narzędzia dla administratorów systemów, sieci, bezpieczeństwa i operacji.

SYS-C0251 · macOS Administration

macOS Administration Guide

Manage a Mac with a profile and a named admin, and keep FileVault as protection you do not bypass.

Updated 25 October 2026 · Pillar guide

This is an original planning guide. It is not a vendor manual, an official standard, or legal advice. Example addresses use documentation ranges. Review every command before you paste it.

A Mac is a computer with a profile, not a Linux host

macOS is administered with accounts, configuration profiles, and often an MDM your organisation already chose. A profile is a signed or trusted payload of settings. The mobileconfig generator on this site drafts a payload. It does not enrol a fleet. You still install it through the channel you already use, on one test Mac first.

The Terminal is a normal admin tool. The command explainer on this site decodes a line. It does not run it. Homebrew and other user-level package tools are a choice for a lab Mac and a problem for a managed Mac if people install two copies of everything. Prefer the managed path for a fleet. Write down when a lab Mac is allowed to differ.

FileVault encrypts the disk. It is a control you turn on with a recovery method you have tested, not a nuisance you disable so a script can read the disk. This guide does not describe how to get around it. If a Mac cannot boot, you use the recovery key process you already stored, or you reinstall and restore from backup.

A Mac that is also a server for the office is a decision, not a default. The fundamentals still apply: a purpose, separate admin accounts, and a backup. The rest of this desk's Linux distro guides are the wrong file format.

One test Mac, one profile, one setting

Pick a setting you can see, such as a login window banner or a screen lock, and put only that setting in a profile. Install it on the test Mac through your test method. Confirm the setting applied. Remove the profile and confirm the setting went away, if the payload allows removal in the lab. That removal is the rollback rehearsal.

Create an admin account for the person who will administer this Mac, not a shared local admin password taped under the keyboard. The password is not in the ticket. A second standard user is how you confirm the setting hit the user and not only the admin.

If FileVault is on, confirm you have the recovery method stored in the place your organisation uses, and do not put the recovery key in the ticket. If FileVault is off on a portable Mac that leaves the building, the decision to leave it off is written down, not assumed.

A Terminal command you needed goes through the explainer and then onto the Mac. A command that disables a security control to make a profile install is the wrong command.

A change you can finish

The fleet change is the same profile through MDM, after the test Mac, to a pilot group, then wider. You do not email a mobileconfig to everyone as the distribution method.

Rollback is to remove the profile from the pilot, which you have done on the test Mac.

  1. Name the one setting.
  2. Generate or write a profile that contains only that setting.
  3. Install it on the test Mac.
  4. Confirm it as a standard user.
  5. Remove it in the lab and confirm the rollback.
  6. Store any FileVault recovery material outside the ticket.
  7. Pilot through MDM before the rest of the fleet.

Mistakes that outlive the command

macOS administration fails in the same few ways. Each one looks finished on the day you type it. The list is here so the ticket can forbid them before the window, not so you can recognise them in an incident review.

Decisions to write down before the window

Decision 1 for macOS administration. One setting in the test profile. More settings are a later profile. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 2 for macOS administration. Distribution is your MDM or your tested method, not a mail blast. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 3 for macOS administration. Admin accounts are individual. The password is not in the ticket. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 4 for macOS administration. FileVault stays on for a portable Mac unless the exception is written. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 5 for macOS administration. The recovery key is stored and not pasted into the ticket. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 6 for macOS administration. The test Mac can roll the profile off. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 7 for macOS administration. A pilot group exists before the fleet. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 8 for macOS administration. Terminal commands were explained and do not disable a control. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 9 for macOS administration. Backups exist for a Mac that holds the only copy of something. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 10 for macOS administration. Linux distro steps were not used. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

Decision 11 for macOS administration. A second person saw the setting on the standard user. Write that decision in the ticket before you change the host. The proof is the smallest command or screen that confirms it, recorded with the hostname and the time. If the host disagrees, the ticket changes. A second change does not go on top of a failed check. The rollback is the previous value you wrote down, not a reboot that hides which line mattered.

macOS checks before the profile reaches the fleet

Check 1 in macOS checks before the profile reaches the fleet. The profile contains the setting you named and little else. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 2 in macOS checks before the profile reaches the fleet. The test Mac shows the setting for a standard user. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 3 in macOS checks before the profile reaches the fleet. Removal worked in the lab. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 4 in macOS checks before the profile reaches the fleet. MDM or the approved channel is the distribution. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 5 in macOS checks before the profile reaches the fleet. No shared admin password is in use or in the ticket. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 6 in macOS checks before the profile reaches the fleet. FileVault state matches the decision. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 7 in macOS checks before the profile reaches the fleet. No recovery key is in the ticket. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 8 in macOS checks before the profile reaches the fleet. The command explainer's reading matches the command you ran. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 9 in macOS checks before the profile reaches the fleet. A pilot list exists and is not the whole company. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 10 in macOS checks before the profile reaches the fleet. Backup is true for any unique data on the test Mac. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 11 in macOS checks before the profile reaches the fleet. A second person saw the setting. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 12 in macOS checks before the profile reaches the fleet. Rollback is removal of the profile. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 13 in macOS checks before the profile reaches the fleet. The Mac's purpose is written if it is serving other people. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 14 in macOS checks before the profile reaches the fleet. The hostname in the prompt matches the hostname in the ticket for macOS administration. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 15 in macOS checks before the profile reaches the fleet. The result line includes the time and the person, not only the command. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 16 in macOS checks before the profile reaches the fleet. You can point at the rollback value without searching a chat history. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Check 17 in macOS checks before the profile reaches the fleet. Done is a sentence a second person can repeat: the proof for macOS administration happened, and the next host is not started early. Record the device name, the result, and the time on the same line. If the result does not match this check, stop and fix the ticket before you add another change. The rollback for this check is the previous value you wrote down, not a reboot. A reboot hides whether the check was the one that mattered. When the check passes, move to the next one. When it fails, the incident is this check.

Tools for this guide

These tools run in the browser on this site. They do not log into your machines.

Guides in this cluster

These supporting pages belong to this pillar. A published page is linked. The others are named until they are published.