[SmartcardServices-Users] Activate screensaver with token

Yoann Gini yoann.gini at gmail.com
Thu Mar 24 01:28:21 PDT 2016



> Le 23 mars 2016 à 19:10, Lance Terada, CTR <lance.terada.ctr at mhpcc.hpc.mil> a écrit :
> 
> Hi Shawn,
> 
> Yes, I already enabled smart cards for login.  So I guess I’m having another issue as I’ve set that option but my screensaver still doesn’t turn on after I pull my CAC.  The read command returns correct information.
> 
> Is there anything else I can check?

Did you restart your computer since you’ve set this setting? Or at least killed the cfprefsd service ?

Look at the syslog when you remove the smart card to see if the removal is correctly seen.


> 
>> On Mar 22, 2016, at 6:47 PM, Shawn Geddis <geddis at icloud.com <mailto:geddis at icloud.com>> wrote:
>> 
>> sudo /usr/libexec/plistbuddy -c "Add:tokenRemovalAction integer 1" /Users/<username>/Library/Preferences/com.apple.screensaver.plist
>> sudo /usr/libexec/plistbuddy -c "Add:askForPassword integer 1" /Users/<username>/Library/Preferences/com.apple.screensaver.plist
>> sudo /usr/libexec/plistbuddy -c "Add:askForPasswordDelay integer 0" /Users/<username>/Library/Preferences/com.apple.screensaver.plist
>> 
>> 
>> You can also READ what the settings are using ‘defaults':
>> 
>> $ sudo defaults read  /Users/<username>/Library/Preferences/com.apple.screensaver

Don’t forget cfprefsd when editing plist files on disk. 

If you use defaults, cfprefsd is updated, but if you use anything else the caching service isn’t updated and your new settings never used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/smartcardservices-users/attachments/20160324/37dcbb9e/attachment.html>


More information about the SmartcardServices-Users mailing list