Mac Self-Service is a functionality within the Mac Desktop Service built and maintained to empower CERN users by giving them easy access to applications and configurations through the Self-Service application. It also enables CERN users to acquire Mac App Store applications through the Apple Volume Purchasing Program. Access to licensed software is restricted to Macs that are regurarely on site.
Mac Self-Service is based on the pull philosophy. CERN users join the Self-Service by enrolling their Mac in the CERN MDM, which requires logging-on with their CERN credentials and then downloading and installing the Self-Service application. This enables the users to select the applications they would like to install or the settings they would like to apply on their Mac.
The enrolment and the Self-Service app use Single-Sign-On. SSO to these services works with username and password or with an existing kerberos token. The SSO for these services does not work with user certificates.
If the device on which you intend to install this software is owned by an external university or institute, please ensure that you have the right to authorise the enrollment.
To enrol you Mac in the Mac Self-Service, click here: https://mdm.cern.ch/enrol
Enrolling with macOS 10.12.6 or earlier
On macOS versions up to 10.12.6 the package CernSelfService.pkg will be downloaded directly. Once the download is complete you can (double) click the package to open it with the Installer and follow the installations instructions.
Enrolling with macOS 10.13 or newer
On newer versions of macOS two profiles are downloaded and installed (first a "CA Certificate" and then an "MDM Profile"), for each of these the user is asked several times for confirmation. The framework and the Self-Service app are then pushed from the server in the background. Due to this it might take a few minutes until the Self-Service app is installed on newer versions of macOS.
Using the Self-Service
When starting the Self-Service for the first time users should run the policy 'Trust CERN CA Certificates' to ensure that the Mac trusts the certificates issued by CERN's Certification Authority, needed for the installation of products via the Self-Service.
Access to licensed software is only granted to properly registered Macs that have been on site recently. Even for Macs that are on site there is delay of a few minutes between the enrollment and the check for eligibility, which means that licensed software is not visible directly after the enrollment. Macs that are registered in the network database as 'visitor-xyz' are not eligible for licensed software.
On the technical level, the Self-Service works based on the MDM agent, which is installed during the enrolment process. The MDM agent runs with local admin privileges in order to automate installations, manage software dependencies and gather information about the hardware and software, which helps the Mac Desktop Service team provide a better service. The Mac Desktop Service team is committed to ensure confidentiality of this information.
Updates to the applications installed through the Self-Service are handled by mechanisms provided by these applications themselves - in exactly the same way as when these applications are installed outside of the Self-Service. Although technically possible, the Mac Desktop Service team does not push any updates, settings or applications to the Macs enrolled in the Self-Service.
However, in case you would like to remove Self-Service, and you have not installed any CERN licensed software, simply execute the following command in terminal :
sudo jamf removeframework
Please 'Quit' the Self-Service app.
The Self-Service app goes into weird state when kept open for too long, and will probably use a large fraction of your Macs network bandwidth. To avoid that the Self-Service app wastes too many resources please quit the app when you are done.
About Migration Assistant, Restoring from Time Machine and Replaced Motherboards
When a new Mac is set up using the migration assistant directly or via Time Machine or when a Mac has its motherboard replaced that Mac might also receive the Self-Service.app and the jamf framework, but the Self-Service server will not accept any connection from that Mac since the new Mac is unknown to the server. The same holds for any other intervention that changes the serial number and/or the UDID of the Mac. For these devices we recommand to run the 'sudo jamf removeframework' and then enroll the new Mac by visiting https://mdm.cern.ch/enrol.