sudo limitSSHScope.sh <mountPoint> <computerName> <currentUsername> <targetUsername>
If the $targetUsername parameter is specified (parameter 4), this is the account that will be granted access to SSH.
If no parameter is specified for parameter 4, the hardcoded value in the script will be used.
This script grants SSH access to an individual account on computers running Mac OS X 10.5 and later. It can be used with a hardcoded value in the script, or read in as a parameter. Since the Casper Suite defines the first three parameters as (1) Mount Point, (2) Computer Name and (3) username, we are using the forth parameter ($4) as the passable parameter. We do not use $3 since it may not match up to the username that we want to grant access for.
Jamf wants to hear your feedback around Jamf Pro Navigation and Office365 settings configuration.