目录

  1. 延展阅读

Thinkpad Integrated Fingerprint Reader 可以使用指纹认证代替用户登录过程中的密码认证,减少用户手工输入密码的机会,在Windows 下使用CSS 软件,配合内置加密芯片,更可以实现指纹认证的文件加解密。

在Gentoo Linux 下整个配置过程比较容易,How to enable the fingerprint reader with ThinkFinger - ThinkWiki 提供了非常清晰的描述,请参考文中的Gentoo 部分以及后续步骤。下面仅列出几点Gentoo 用户需要注意的地方。

  • 文件/etc/pam.d/common-auth 在Gentoo Linux 下无法找到,应该使用 /etc/pam.d/system-auth,以下是我修改后的内容。

/etc/pam.d/system-auth

#%PAM-1.0
auth       required     pam_env.so
# Added by alex
auth       sufficient   pam_thinkfinger.so
auth       sufficient   pam_unix.so try_first_pass likeauth nullok
auth       required     pam_deny.so
account    required     pam_unix.so
# This can be used only if you enabled the cracklib USE flag
password   required     pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
# This can be used only if you enabled the cracklib USE flag
password   sufficient   pam_unix.so try_first_pass use_authtok nullok md5 shadow
# This can be used only if you enabled the !cracklib USE flag
# password   sufficient pam_unix.so try_first_pass nullok md5 shadow
password   required     pam_deny.so
session    required     pam_limits.so
session    required     pam_unix.so
  • 将uinput 加入/etc/modules.autoload.d/kernel-2.6
# Modules for fingerprint
uinput
  • 将文中的环境变量$USERNAME 替换为$USER 再使用,例如:
# gpasswd -a $USERNAME fingerprint 
  • 若使指纹认证在xscreensaver/gnome-screensaver 中工作,必须按照上文4 xscreensaver/gnome-screensaver 一节进行额外配置。我在以下环境测试成功。
    • gnome-screensaver-2.20.0
    • pam-0.99.9.0

      但需要指出的是,文件/etc/pam.d/gnome-screensaver 并不需要修改,因为其已经通过include 关键字包含文件system-auth。
  • 关于gksu/gksudo 的workaround ,我未进行测试。

延展阅读

Post a comment

mail.png


相似文章|Related Entries

最近更新|Recent Entries

不定期更新|Handy Entries

相似标签|Related Tags

fingerprint reader
gentoo (16)
linux (18)
t43 (11)
thinkpad (11)
指纹 (1)
gentoo
3d (1)
chinese (2)
conf (1)
db2 (2)
driver (2)
emerge (0)
environment (1)
fingerprint reader (1)
Fn (0)
fonts (1)
hdaps (1)
java (1)
jdk (1)
kernel configuration (1)
linux (18)
locale (1)
picasa (1)
portage (0)
ramdisk (2)
rebuildpkgdb (1)
software (2)
soundcard (0)
subversion (2)
svn (1)
t43 (11)
thinkpad (11)
tmpfs (1)
wine (1)
wireless (1)
x300 (1)
中文 (1)
指纹 (1)
linux
3d (1)
chinese (2)
conf (1)
db2 (2)
driver (2)
emerge (0)
environment (1)
fingerprint reader (1)
Fn (0)
font (1)
fonts (1)
gentoo (16)
Gentoo (1)
hdaps (1)
java (1)
jdk (1)
kernel configuration (1)
locale (1)
picasa (1)
portage (0)
ramdisk (2)
rebuildpkgdb (1)
software (2)
soundcard (0)
subversion (2)
svn (1)
t43 (11)
thinkpad (11)
tmpfs (1)
wine (1)
winxp (4)
wireless (1)
x300 (1)
中文 (1)
指纹 (1)
t43
3d (1)
chinese (2)
conf (1)
driver (2)
environment (1)
fingerprint reader (1)
Fn (0)
font (1)
gentoo (16)
Gentoo (1)
hdaps (1)
kernel configuration (1)
linux (18)
locale (1)
soundcard (0)
thinkpad (11)
wireless (1)
x300 (1)
中文 (1)
指纹 (1)
thinkpad
3d (1)
chinese (2)
conf (1)
driver (2)
environment (1)
fingerprint reader (1)
Fn (0)
font (1)
gentoo (16)
Gentoo (1)
hdaps (1)
kernel configuration (1)
linux (18)
locale (1)
soundcard (0)
t43 (11)
wireless (1)
x300 (1)
中文 (1)
指纹 (1)
指纹
fingerprint reader (1)
gentoo (16)
linux (18)
t43 (11)
thinkpad (11)

分类栏目|Categories

按月归档|By Month

2008
03
02
01
2007
12
10
07
06
05
04
03
02
01
2006
12
11
10
09
08
07
06
05
04
03
02
01
2005
11
10
09
08
07
04
03
2004
12
11
10
09
08
07
06
05
04
03
02
01
2003
12
10
09
08
06
2002
09
08
04
03
02
2001
12
09
07
06
05

站内链接|Site Links

Powered by
Movable Type 3.34