Posted on 02-25-2013 05:51 AM
Hi,
Any way to allow non admins to run system updates through the App store? We have a working SUS that works great (so far), and would love to just have kids fire up the App store App and install the updates that way instead of through Self Service.
Thanks!
Steve
Posted on 02-25-2013 06:04 AM
You'll need to fire off AppStore with Self Service. You may want to further limit AppStore to updates only via this:
http://support.apple.com/kb/HT5391
Posted on 02-25-2013 06:11 AM
I can't get into that link with my apple ID? I must not be special enough.
Posted on 02-25-2013 06:26 AM
Doesn't seem to be special for me or anything.
Posted on 02-25-2013 06:37 AM
Parallel thread here, where Greg Neagle posted a link to a session in which he demonstrates exactly how to do this:
https://jamfnation.jamfsoftware.com/discussion.html?id=5527
Posted on 02-25-2013 07:16 AM
Jared, seems to be working for me now....not sure what was up with that....Thanks!
Posted on 02-25-2013 07:17 AM
Thanks for the video link Tim, I will check out both ideas here.
Posted on 02-25-2013 10:24 AM
with 10.8 you could try and change the rule from "root or entitled admin or authenticate admin" to "allow"
/usr/libexec/PlistBuddy -c 'Set :rights:system.install.app-store-software:rule allow' /etc/authorization
/usr/libexec/PlistBuddy -c 'Set :rights:system.install.apple-software:rule allow' /etc/authorization
/usr/libexec/PlistBuddy -c 'Set :rights:com.apple.SoftwareUpdate.scan:rule allow' /etc/authorization
killall Finder
I don't have a system that has updates available at the moment to see if it asks for any more authentication beyond that
This will just bypass the admin username and password that pops up when you click on Updates in the app store.
Also the rule "allow" opens it to everyone you could further scope it by changing "allow" to another group.
Posted on 06-24-2013 09:03 AM
I tried your code above and I am getting this result:
Script result: Set: Entry, ":rights:system.install.app-store-software:rule", Does Not Exist File Doesn't Exist, Will Create: /etc/authorization Set: Entry, ":rights:system.install.apple-software:rule", Does Not Exist Set: Entry, ":rights:com.apple.SoftwareUpdate.scan:rule", Does Not Exist No matching processes were found
Posted on 06-24-2013 09:06 AM
If the /etc/authorization file is missing, you've got serious problems.
Posted on 06-24-2013 11:21 AM
I'm going to image a machine again and check this. The script is running on an unbooted image made with instadmg. Is it possible that because the machine has never been logged onto when the script ran, the file had not been created yet. Sorry pretty ignorant about this. We have had no issues with our machines so I would expect if we had 'serious problems' I would have seen a problem by now.
Posted on 06-24-2013 11:56 AM
@Aaron. Try prefixing those Plist Buddy commands with "sudo"
Posted on 06-24-2013 12:19 PM
Posted on 06-24-2013 12:20 PM
Will do. The file is definitely there. I think it may be syntax errors on my part.
Posted on 06-24-2013 12:22 PM
Thanks, that linked discussion is helpful. I will see how it goes.
Posted on 06-24-2013 12:27 PM
@Aaron.. I was thinking syntax too.
But the link that Tim gave contains the link to Apple's "approved" way... I'd probably lean that way.
(I was carping on about /etc/authorization in that thread too).