Posted on 12-01-2011 02:51 AM
Screen saver bug
Hi guys
I have found since using InsaDMG to make images I get a problem where not
even a local-admin or the user can unlock the screensaver if the machine is
left on over night.
I have found this from Apple but was wondering if any one knows how to do
this in a script
http://support.apple.com/kb/TS3287
Tim Kimpton
Systems Engineer
E: Tim.Kimpton at rufusleonard.com
D: +44 (0)20 7956 3014
W: http://www.rufusleonard.com
F: facebook.com/rufusleonarduk
T: twitter.com/rufusleonard
Rufus Leonard limited is a company registered in England and Wales with
company number 3348509. Vat number: 691308528
![external image link](attachments/39d7eecfd8274e13b563f34e1ce14293)
Posted on 12-01-2011 05:39 AM
i think those are two separate issues. there should be no difference in this behavior when using an image generated with instadmg. it doesn't do anything magic to /etc/authorization, unless you include components that do so.
it's pretty easy to manipulate the authorization file with puppet's built in macauthorization resource type, like so:
macauthorization { 'system.login.screensaver':
ensure => 'present',
auth_class => 'rule',
auth_type => 'right',
comment => '(Use SecurityAgent.) The owner or any administrator can unlock the screensaver.',
rule => ['authenticate-session-owner-or-admin'],
}
but you're not using puppet, so you'll probably want to use PlistBuddy or whatever text manipulation language you like (awk, perl, python, ruby, etc.):
/usr/libexec/PlistBuddy -c 'Set rights:system.login.screensaver:comment "(Use SecurityAgent.) The owner or any administrator can unlock the screensaver."' /etc/authorization
Posted on 12-14-2011 08:11 AM
I have narrowed down the screen saver bug to ADmitMac version 6.0. Seems
they have issues with Kerberos authentication on 10.6.8 and 10.7.2 clients.
To get around this for 10.6.8 clients I have rolled back to a working
ADmitMac version 5.2
Tim Kimpton
Systems Engineer
E: Tim.Kimpton at rufusleonard.com
D: +44 (0)20 7956 3014
W: http://www.rufusleonard.com
F: facebook.com/rufusleonarduk
T: twitter.com/rufusleonard
Rufus Leonard limited is a company registered in England and Wales with
company number 3348509. Vat number: 691308528