Preparing macOS for a rollout push
- Enable the root account.
- Open the command line on your macOS device and enter sudo passwd root command.
- Enter the password you want for root and retype it for verification.
- Open the command line on your macOS device and enter sudo passwd root command.
- Enable SSH.
- Go to System Preferences > Sharing.
- Select Remote Login from the list of list of services.
- Set the Allow access for value to either All users or Only these users.
- Go to System Preferences > Sharing.
- Configure SSH to allow the root connection.
- Open the command line and enter the su root command.
- Enter root password.
- Enter nano /etc/ssh/sshd_config.
- Open the command line and enter the su root command.
- Make the following changes to the file as shown in the next image.
- Set the PermitRootLogin value to yes and remove # before the line.
- Set the PasswordAuthentication value to yes and remove # before the line.
- Set the PermitRootLogin value to yes and remove # before the line.
- Save the file. It might be required for rebooting the macOS device.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*





