Timeline for Disable screensaver password requirement from command line
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2016 at 21:07 | comment | added | JS. | @macaco Can you please describe the method you used for monitoring file read/writes which toggling the 'ask for password' setting? | |
Jan 18, 2015 at 11:58 | history | edited | jherran | CC BY-SA 3.0 |
added 2 characters in body
|
Nov 17, 2013 at 18:23 | answer | added | Chris C | timeline score: 3 | |
May 16, 2012 at 15:39 | vote | accept | Andrew J. Brehm | ||
May 16, 2012 at 12:29 | answer | added | E1Suave | timeline score: 7 | |
May 16, 2012 at 11:07 | comment | added | macaco | It's the 'loginwindow' process that seems to access this file after it's been written by System Preferences. Which makes sense. Unfortunately, killing the loginwindow process will forcefully log you out. Keep digging! | |
May 16, 2012 at 10:20 | comment | added | Andrew J. Brehm | Ta. I hope someone will know that and answer here. | |
May 16, 2012 at 10:19 | comment | added | Andrew J. Brehm | Looks like Apple undermining their own plist mechanism. | |
May 16, 2012 at 10:17 | comment | added | macaco | I was right! Logging out and then back in after changing the plist file causes the change in settings to be reflected. So, looks like you need to find which service is controlling the 'ask for password' behaviour and reset/reload it after modifying the plist. | |
May 16, 2012 at 10:12 | comment | added | macaco | This is a little bewildering. I've watched file read/writes whilst toggling the 'ask for password' setting. The only file that I can see being modified is com.apple.screensaver. I'm guessing that a message is sent to some service when this button is toggled in the GUI as well as writing to the plist file. I'd wager that rebooting the system or logging out/in might cause the file to be reread by said service, making the desired change. | |
May 16, 2012 at 9:47 | history | asked | Andrew J. Brehm | CC BY-SA 3.0 |