A support technician needs to deploy a customized macOS configuration profile across fifty enterprise Mac endpoints without relying on an external Mobile Device Management server. Which built-in command-line utility should the technician use to install the unsigned configuration profile locally?
Trap 1: installer -pkg profile.mobileconfig -target /
The installer command processes traditional Apple package files with standard pkg or mpkg extensions. Attempting to deploy a raw mobileconfig file through this utility results in a parsing error because configuration profiles require dedicated profile management engines.
Trap 2: scutil --set ConfigurationProfile profile.mobileconfig
The scutil utility manages dynamic system configuration parameters related to DNS, proxies, and network reachability. It lacks the internal mechanisms required to parse and enforce security policies or certificates contained within configuration profiles.
Trap 3: dscl
The directory service command-line utility interacts strictly with the local Open Directory database for user, group, and node management. It does not possess the cryptographic parsing capabilities needed to install Apple configuration profiles.
- A
installer -pkg profile.mobileconfig -target /
Why it fails: The installer command processes traditional Apple package files with standard pkg or mpkg extensions. Attempting to deploy a raw mobileconfig file through this utility results in a parsing error because configuration profiles require dedicated profile management engines.
- B
scutil --set ConfigurationProfile profile.mobileconfig
Why it fails: The scutil utility manages dynamic system configuration parameters related to DNS, proxies, and network reachability. It lacks the internal mechanisms required to parse and enforce security policies or certificates contained within configuration profiles.
- C
profiles -I -F /path/to/profile.mobileconfig
The profiles command with the install flag and file parameter accurately injects the specified configuration profile into the local system database. This allows administrators to test payloads immediately without requiring an over-the-air MDM check-in cycle.
- D
dscl . -create /ConfigProfiles profile.mobileconfig
Why it fails: The directory service command-line utility interacts strictly with the local Open Directory database for user, group, and node management. It does not possess the cryptographic parsing capabilities needed to install Apple configuration profiles.