AFP548

enable ssh and file sharing

I am looking for the commands to enable Remote Logon (ssh) and File Sharing from the Sharing tab of System Preferences. Also, is there a good way to check the box for Require password for each Preference without MCX? We so use a directory structure but would like to have this option enabled by default, just in case something happened to the directory. This will be used in a script after the Mac is booted.
Exit mobile version