For my job, before I deploy a new Mac laptop, I need to enable these two settings:
System Preferences - Sharing - Remote Login. Once enabled I also need to add the admin account that previously I have created by selecting the little + symbol under Only these users:
System Preferences - Sharing - Remote Management - (the little pop up windows comes out) and I select all the features
How do I achieve the above two process via command line?