亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 請(qǐng)教一個(gè)Linux-PAM的問題哈 [打印本頁]

作者: llllinux    時(shí)間: 2010-05-08 18:19
標(biāo)題: 請(qǐng)教一個(gè)Linux-PAM的問題哈
描述可能長(zhǎng)一點(diǎn),大俠耐心點(diǎn)哈。
在/etc/pam.d文件是各個(gè)服務(wù)的PAM驗(yàn)證服務(wù)文件吧,比如login文件吧,我截取了一段

atd                           newrole                       su
authconfig                    other                         sudo
authconfig-gtk                passwd                        sudo-i
authconfig-tui                password-auth                 su-l
chfn                          password-auth-ac              system-auth

能看到主要有三列,但是我看網(wǎng)上很多關(guān)于PAM的資料提到,驗(yàn)證服務(wù)文件格式是:
service  module_type   control_flag    module_path    options

好像有點(diǎn)出入啊,我用的是fedora 11.
作者: llllinux    時(shí)間: 2010-05-08 18:27
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
session    optional     pam_console.so

補(bǔ)充一下啊,剛才截取的好像有問題,重新截取了一段,

為什么資料上說是5列,而實(shí)際看到的只有3列呢??
作者: llllinux    時(shí)間: 2010-05-08 18:58
剛又在網(wǎng)上查看了The Linux-PAM Guides

里面提到:
The syntax of each file in /etc/pam.d/ is similar to that of the /etc/pam.conf file and is made up of lines of the following form:

type  control  module-path  module-arguments
   
The only difference being that the service-name is not present

就算這樣,也不應(yīng)該只有3列啊,也應(yīng)該是4列啊。
作者: llllinux    時(shí)間: 2010-05-08 19:00
而且control  那一列里面還有個(gè)include。

include表示什么意識(shí)??




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2