Posted on 03-21-2019 07:19 AM
The Jamf Pro online manual at https://docs.jamf.com/10.6.0/jamf-pro/administrator-guide/Restricted_Software.html seems to imply that the Restricted Software function can be scoped to operate on specific user groups. However I don't see that functionality in actual fact, it only seems to allow scoping to computers or computer groups.
How can we restrict software based on a user group? For example, in an Art or Photography examination, access to the Internet should not be permitted, so we want to prevent users opening Safari or Google Chrome. But all other users using those computers should be allowed to access those applications.
Thanks,
Dan Jackson (Senior ITServices Technician).
Posted on 03-21-2019 07:35 AM
Could you build a smart group, based on a collection of usernames, and apply the restriction to that? I know its not ideal, but would work.
I only get the ability to provide an exclusion to a LDAP/Local username, in Restricted Software. Jamf 10.8
Posted on 03-21-2019 07:41 AM
@PaulHazelden the scope in Restricted Software doesn't even offer the ability to select user groups, only computer groups. I can also see the ability to exclude LDAP usernames but we have a couple of thousand students so it really isn't practical to enter all their usernames in that box.
Posted on 03-21-2019 08:20 AM
This isn't really how I'd use restricted software (at all). If you are changing permissions for testing purposes you'd be better served with a Configuration Profile and use the Restrictions payload (which can be scoped to groups). You can restrict applications in Restrictions - Preferences - Restrict which apps are allowed to launch - Allow Apps - Fill in the apps you want them to use.
Be really careful with Configuration Profiles. Make sure its as easy to remove them as it was to put it on. :)
Test, Test, Test!
Posted on 05-07-2019 06:11 AM
@larry_barrett I need the opposite of that though, I just need to be able to block specific apps from running if the user is a member of a specific group. It looks like the configuration profile can only whitelist apps?
Posted on 07-08-2019 09:54 AM
I am having the same issue as @DanJ_LRSFC
We have a couple of local user names on our Macs, so I have been able to exclude/include these.
However like Dan we have alot of students that will be using the Macs. Fortunatley for us all their user names begin with an S. So I tried entering the wildcard symbol to see if that would work; s* (didn't work) s% (didn't work)
So just wondering whether using a wildcard actually works in the LDAP/Local Users?
UPDATE: I have been in talks with JAMF support and had the following response:
'Unfortunately, we would have to provide the exact username, that probably would be frustrating. However, as far as I am aware, it may be possible to achieve by creating a Launch Daemon which would verify the user's unique id'
I'm not the best at scripting, but during my seach I came across this http://www.theinstructional.com/guides/gatekeeper-fundamentals-part-2
Unfortunatley this did not work for me, it might for others. I will continue to see if there is a way. Please let me know if anyone else comes up with a solution.
UPDATE 2: My colleague came across this link: https://derflounder.wordpress.com/2017/05/20/application-blacklisting-using-management-profiles/
We edited the script to block Safari, Chrome, and Firefox. Creating the config profile as mentioned by @larry_barrett, we added a limiation to target the user account we wanted to restrict.
When we implemented it and logged into the account the profile had done what we had asked it to do, all three browsers where blocked from running. We then logged in with another account to check that the browsers where launching fine (which they were)
However, logging back into the restricted account we found that for some reason the config profile (even though it was still showing in the profiles) had stopped implementing the browser restriction. Not sure why.
I also believe that if the user was to move the application out of the application folder then they would still be able to open it even if the config profile was working.
We're getting close I can feel it :)
Posted on 08-02-2019 12:50 PM
Hi @Redshirt26 thanks for the above links, they were helpful. However, I'm not sure how to create the add the script described in "UPDATE 2" to the Configuration Profile. Would appreciate it if you would elaborate on how you used that script and a Configuration Profile together?