{"id":285,"date":"2014-08-03T18:37:51","date_gmt":"2014-08-03T16:37:51","guid":{"rendered":"http:\/\/www.hauweele.net\/~gawen\/blog\/?p=285"},"modified":"2014-08-28T12:41:35","modified_gmt":"2014-08-28T10:41:35","slug":"fingerprint-and-xscreensaver","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=285","title":{"rendered":"Fingerprint and XScreenSaver"},"content":{"rendered":"<p>Today I configured the fingerprint reader on my Thinkpad X201. I will not describe the process of configuring\u00a0the fingerprint reader on FreeBSD as it has been\u00a0documented many times on the Internet. Though if you want I may describe the process in a separate article, just tell me.<\/p>\n<p>After the configuration, everybody from the display manager to su asked to authenticate with the reader. So it was fine. Except for xscreensaver which still confined itself password authentification. There were no configuration for xscreensaver in \/etc\/pam.d so I initially thought that it fell back on the &#8220;<em>other<\/em>&#8221;\u00a0configuration. Therefore I added one\u00a0for xscreensaver but it didn&#8217;t change anything.<\/p>\n<p>However I installed xscreensaver as a package, and not from the ports. It turns out that the xscreensaver package does not enable the PAM option.\u00a0You can check that via\u00a0<code>pkg info xscreensaver<\/code> or use <code>ldd \/usr\/local\/bin\/xscreensaver<\/code> to check if xscreensaver is effectively linked with libpam.so.<\/p>\n<p>So you can reinstall xscreensaver from the ports and configure it with the PAM option enabled. However I still wonder why they disabled this by default. I still have a problem with PAM which sometime does not detect the reader and cannot even authenticate with pam_unix. I don&#8217;t know what is the cause of this, but I&#8217;ll find out.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I configured the fingerprint reader on my Thinkpad X201. I will not describe the process of configuring\u00a0the fingerprint reader on FreeBSD as it has been\u00a0documented many times on the Internet. Though if you want I may describe the process &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=285\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[390,391,389,392,394,395,393,60],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fingerprint","tag-fprint","tag-freebsd","tag-pam","tag-pkg","tag-pkgng","tag-port","tag-xscreensaver"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}