Greetings,
For employee-assigned Macs, we manually name the computer via Self Service when setting it up.
/usr/sbin/scutil --set ComputerName "${computerName}" /usr/sbin/scutil --set LocalHostName "${computerName}" /usr/sbin/scutil --set HostName "${computerName}"
However, this does not stop the employee from going into System Preferences and changing the name. Is there a way to enforce Mac computer names like there is on iPads? A cursory search seems to indicate there is not, at least not as simply as you can on an iPad.


