Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Unlock screens using any admin password' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Unlock screens using any admin password
Authored by: skinlayers on Jan 25, '12 01:08:42PM
I apologize. I should have double checked a few things before submitting this.
1) all references to "/etc/authentication" should be changed to "/etc/authorization".
2) The instructions for sending in a hint recommend using both the webform as well as emailing the hint. The "raw" tags where the only way I could find to keep the "string" tag in the XML from being omitted when I submitted the hint via the webform.

Here's a fixed version of the instructions:

First, edit /etc/pam.d/screensaver as per the original Snow Leopard hint:

Open /Applications/Utilities/Terminal.app
Type cd /etc/pam.d
sudo cp screensaver screensaver.bak
sudo nano screensaver
Find the line:
account required pam_group.so no_warn group=admin,wheel fail_safe
and change it to:
account sufficient pam_group.so no_warn group=admin,wheel fail_safe
Press Control+X to save /etc/pam.d/screensaver and exit nano.

Then, still in Terminal, we make a wholly unintuitive change to /etc/authorization:

cd /etc
sudo cp authorization authorization.bak
sudo nano authorization
Press Control+W and search for "unlock the screensaver"
Change the line:
<string>The owner or any administrator can unlock the screensaver.</string>
to:
<string>(Use SecurityAgent.) The owner or any administrator can unlock the screensaver.</string>
Press Control+X to save /etc/authorization and exit nano.
Reboot the Mac


Sorry for the confusion!!!

[ Reply to This | # ]
10.7: Unlock screens using any admin password
Authored by: crarko on Jan 26, '12 05:40:47AM

OK, I've corrected the hint to match this. Thanks very much.

Craig A.



[ Reply to This | # ]
10.7: Unlock screens using any admin password
Authored by: joelbruner on Feb 13, '12 04:10:39PM
Thanks, awesome hint and totally bizarre that a comment string affects behavior?!
Also when I was testing this one liner version of your hint, I found I didn't need to apply the first modification from the previous hint?

/usr/libexec/PlistBuddy -c "Set :rights:system.login.screensaver:comment \"(Use SecurityAgent.) The owner or any administrator can unlock the screensaver.\"" /etc/authorization

Cheers!

[ Reply to This | # ]