new help with making changes to system prefs -> sharing

tegus232
Contributor

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?

1 REPLY 1

karthikeyan_mac
Valued Contributor

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