Just wondering how everyone is handling their access lists for screen sharing and SSH.
I'm playing with this now and the script i'm using is as such:
#!/bin/sh
sudo systemsetup -setremotelogin on
sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
sudo dseditgroup -o create -q com.apple.access_ssh
sudo dseditgroup -o create -q com.apple.access_screensharing
sudo dseditgroup -o edit -a 'AD GROUP' -t group com.apple.access_ssh
sudo dseditgroup -o edit -a 'AD GROUP' -t group com.apple.access_screensharing
I've run this on a few test machines, all works OK and i confirm that my account (located in that AD group) exists in com.apple.access.ssh/screensharing.
However when trying to VNC onto one of these machines, it does not accept any credentials, even though my credentials exist in that group now? Maybe i've missed something out that someone can point out
Thanks!