Posted on 12-20-2021 02:54 PM
Hi all,
Does anyone have a way where the 2 components can be enabled via scripting?
The first component is System Prefs -> Sharing -> Remote login, with enable allow full disk access for remote users and allow access for on these users checked?
The second component is System Prefs -> Sharing -> remote management where in option everything is checked except show when being observed?
12-21-2021 12:19 AM - edited 12-21-2021 12:19 AM
Remote management cannot be enabled remotely via script. Please refer the below article on the same
https://support.apple.com/en-us/HT209161
You can refer the rtrouton's github to enable remote login.
https://github.com/rtrouton/profiles/tree/main/EnableFullDiskAccessforSSH