<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Lance,<br>
      <br>
      Which OS are you using?  From having to deal with a similar
      problem in OS X 10.10 Yosemite with my customers, I'm aware of a
      known problem on that one OS version.<br>
      <br>
      Regards,<br>
      <br>
      Jim Thomas<br>
      Senior Support Engineer<br>
      Thursby Software Systems, Inc.<br>
      <a class="moz-txt-link-abbreviated" href="mailto:jim@thursby.com">jim@thursby.com</a><br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">On 3/23/16 1:10 PM, Lance Terada, CTR
      wrote:<br>
    </div>
    <blockquote
      cite="mid:F8B49477-D77D-48D7-9615-8F896ED545BA@mhpcc.hpc.mil"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi Shawn,
      <div class=""><br class="">
      </div>
      <div class="">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.</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 </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="">    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="">   
          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="">   
          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 moz-do-not-send="true"
                  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=windows-1252" 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 moz-do-not-send="true"
                        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;  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" /Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver.plist<br
                    class="">
                  sudo /usr/libexec/plistbuddy -c "Add:askForPassword
                  integer
1" /Users/&lt;username&gt;/Library/Preferences/com.apple.screensaver.plist<br
                    class="">
                  sudo /usr/libexec/plistbuddy -c
                  "Add:askForPasswordDelay integer
0" /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  /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="">    askForPassword = 1;</div>
                    <div class="">    askForPasswordDelay = 0;</div>
                    <div class="">    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
                                            style="" class=""
                                            face="Helvetica"><span
                                              style="font-size: 12px;"
                                              class="">_____________________________________________________________________<br
                                                class="">
                                              Shawn Geddis<span class="Apple-tab-span" style="white-space: pre;">                                </span>  <span class="Apple-tab-span" style="white-space: pre;">                        </span> 
                                                    </span></font><font
                                            class="" face="Helvetica"><span
                                              style="font-size: 12px;"
                                              class="">geddis@{Mac | Me
                                              | iCloud}.com</span></font><font
                                            style="" class=""
                                            face="Helvetica"><span
                                              style="font-size: 12px;"
                                              class=""><br class="">
                                            </span></font><span
                                            style="orphans: auto;
                                            widows: auto;" class="">Security
                                            and Certifications Engineer</span><font
                                            style="" class=""
                                            face="Helvetica"><span
                                              style="font-size: 12px;"
                                              class="">, Apple          
                                                   <a
                                                moz-do-not-send="true"
                                                href="mailto:geddis@apple.com"
                                                class=""><a class="moz-txt-link-abbreviated" href="mailto:geddis@apple.com">geddis@apple.com</a></a><br
                                                class="">
                                              <br class="">
                                              Smart Card Services<span
                                                class="Apple-converted-space"> </span> Project/Dev
                                              Lead:                    
                                                                       
                                                                       
                                                      <br class="">
                                              <span class="Apple-tab-span" style="white-space: pre;">                                </span>Project Wiki:<span class="Apple-tab-span" style="white-space: pre;">                </span> 
                                                      [<a
                                                moz-do-not-send="true"
                                                href="http://smartcardservices.macosfforge.org/"
                                                class="">SmartCardServices.MacOSFforge.Org</a>]<br
                                                class="">
                                              <span class="Apple-tab-span" style="white-space: pre;">                                </span>Mailing Lists:<span class="Apple-tab-span" style="white-space: pre;">                </span> 
                                                     [<a
                                                moz-do-not-send="true"
                                                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
                                            class="" face="Helvetica"><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> 
                                                       [<a
                                                moz-do-not-send="true"
                                                href="mailto:scs-cotact@macosforge.org"
                                                class=""><a class="moz-txt-link-abbreviated" href="mailto:scs-cotact@macosforge.org">scs-cotact@macosforge.org</a></a>]</span></font></div>
                                        <div style="word-wrap:
                                          break-word; -webkit-nbsp-mode:
                                          space; -webkit-line-break:
                                          after-white-space;" class=""><font
                                            class="" face="Helvetica"><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> 
                                                       [<a
                                                moz-do-not-send="true"
                                                href="mailto:scs-admin@macosforge.org"
                                                class=""><a class="moz-txt-link-abbreviated" href="mailto:scs-admin@macosforge.org">scs-admin@macosforge.org</a></a>]</span></font></div>
                                        <div style="word-wrap:
                                          break-word; -webkit-nbsp-mode:
                                          space; -webkit-line-break:
                                          after-white-space;" class=""><font
                                            class="" face="Helvetica"><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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SmartcardServices-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SmartcardServices-Users@lists.macosforge.org">SmartcardServices-Users@lists.macosforge.org</a>
<a class="moz-txt-link-freetext" href="https://lists.macosforge.org/mailman/listinfo/smartcardservices-users">https://lists.macosforge.org/mailman/listinfo/smartcardservices-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>