<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 23 mars 2016 à 19:10, Lance Terada, CTR &lt;<a href="mailto:lance.terada.ctr@mhpcc.hpc.mil" class="">lance.terada.ctr@mhpcc.hpc.mil</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Shawn,<div class=""><br class=""></div><div class="">Yes, I already enabled smart cards for login. &nbsp;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. &nbsp;The read command returns correct information.</div><div class=""><div class=""><br class=""><div class="">
<div class=""><div class="">Is there anything else I can check?</div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>Did you restart your computer since you’ve set this setting? Or at least killed the cfprefsd service ?<br class=""><br class="">Look at the syslog when you remove the smart&nbsp;card to see if the removal is correctly seen.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 22, 2016, at 6:47 PM, Shawn Geddis &lt;<a href="mailto:geddis@icloud.com" class="">geddis@icloud.com</a>&gt; wrote:</div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">sudo /usr/libexec/plistbuddy -c "Add:tokenRemovalAction integer 1"&nbsp;/Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver.plist<br class="">sudo /usr/libexec/plistbuddy -c "Add:askForPassword integer 1"&nbsp;/Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver.plist<br class="">sudo /usr/libexec/plistbuddy -c "Add:askForPasswordDelay integer 0"&nbsp;/Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver.plist<br class=""><br class=""><div class=""><br class=""></div><div class="">You can also READ what the settings are using ‘defaults':</div><div class=""><br class=""></div><div class="">$ sudo defaults read&nbsp;&nbsp;/Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver<br class=""></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div><div class="">Don’t forget&nbsp;cfprefsd when editing plist files on disk.&nbsp;</div><div class=""><br class=""></div><div class="">If you use defaults,&nbsp;cfprefsd is updated, but if you use anything else the caching service isn’t updated and your new settings never used.</div></body></html>