<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="">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=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">sh-3.2# defaults read /Users/myuser/Library/Preferences/com.apple.screensaver.plist&nbsp;</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">{</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&nbsp; &nbsp; askForPassword = 1;</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&nbsp; &nbsp; askForPasswordDelay = 0;</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&nbsp; &nbsp; tokenRemovalAction = 1;</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">}</div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div class=""><div class="">Is there anything else I can check?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Lance</div></div>

</div><div class=""><br class="webkit-block-placeholder"></div>
<br class=""><div><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><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=""><blockquote type="cite" class=""><div class="">On Mar 22, 2016, at 6:09 PM, Lance Terada, CTR &lt;<a href="mailto:lance.terada.ctr@mhpcc.hpc.mil" class="">lance.terada.ctr@mhpcc.hpc.mil</a>&gt; wrote:</div><div class="">Hello,<br class="">Does anyone know how to configure activating the screensaver after pulling your token out of the CAC reader?</div></blockquote><div class=""><br class=""></div>Lance,<div class=""><br class=""></div><div class="">If you already have enabled use of smartcards for login, you can simply click on on the “Advanced…” tab at the lower right-hand corner.</div><div class=""><br class=""></div><div class="">System Preferences -&gt; Security &amp; Privacy -&gt; &nbsp;Advanced…</div><div class=""><span id="cid:D53C4D1F-7A32-4010-9FE2-23E981FEA529">&lt;Screen Shot 2016-03-22 at 6.32.51 PM.png&gt;</span></div><div class=""><br class=""></div><div class="">This could be scripted with the following commands (Replace &lt;username&gt; with the actual account name):</div><div class="">(This ends up being the easiest syntax for many)</div><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=""><br class=""></div><div class="">Which would give you the following:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">{</div><div class="">&nbsp; &nbsp;&nbsp;askForPassword = 1;</div><div class="">&nbsp; &nbsp;&nbsp;askForPasswordDelay = 0;</div><div class="">&nbsp; &nbsp;&nbsp;tokenRemovalAction = 1;</div><div class="">}</div></blockquote><div class=""><br class=""></div><div class=""><span style="font-family: Helvetica; orphans: 2; widows: 2; text-align: -webkit-auto;" class=""><br class=""></span></div><div class=""><span style="font-family: Helvetica; orphans: 2; widows: 2; text-align: -webkit-auto;" class="">- Shawn</span></div><div class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Helvetica" style="" class=""><span style="font-size: 12px;" class="">_____________________________________________________________________<br class="">Shawn Geddis<span class="Apple-tab-span" style="white-space: pre;">                                </span>&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;">                        </span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font><font face="Helvetica" class=""><span style="font-size: 12px;" class="">geddis@{Mac | Me | iCloud}.com</span></font><font face="Helvetica" style="" class=""><span style="font-size: 12px;" class=""><br class=""></span></font><span style="orphans: auto; widows: auto;" class="">Security and Certifications Engineer</span><font face="Helvetica" style="" class=""><span style="font-size: 12px;" class="">, Apple &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geddis@apple.com" class="">geddis@apple.com</a><br class=""><br class="">Smart Card Services<span class="Apple-converted-space">&nbsp;</span>&nbsp;Project/Dev Lead: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br class=""><span class="Apple-tab-span" style="white-space: pre;">                                </span>Project&nbsp;Wiki:<span class="Apple-tab-span" style="white-space: pre;">                </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;[<a href="http://smartcardservices.macosfforge.org/" class="">SmartCardServices.MacOSFforge.Org</a>]<br class=""><span class="Apple-tab-span" style="white-space: pre;">                                </span>Mailing&nbsp;Lists:<span class="Apple-tab-span" style="white-space: pre;">                </span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;[<a href="http://lists.macosforge.org/mailman/listinfo" class="">Lists.MacOSForge.Org/mailman/listinfo</a>]</span></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Helvetica" class=""><span style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space: pre;">                                </span>SCS Contact:<span class="Apple-tab-span" style="white-space: pre;">                                </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;[<a href="mailto:scs-cotact@macosforge.org" class="">scs-cotact@macosforge.org</a>]</span></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Helvetica" class=""><span style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space: pre;">                                </span>SCS Admin:<span class="Apple-tab-span" style="white-space: pre;">                                </span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;[<a href="mailto:scs-admin@macosforge.org" class="">scs-admin@macosforge.org</a>]</span></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Helvetica" class=""><span style="font-size: 12px;" class="">_____________________________________________________________________</span></font><br class=""></div></span></div></div></div></div></div></div></div></div></div>
</div>
<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>