美文网首页
nsswitch & pam

nsswitch & pam

作者: EmptyBottl_520d | 来源:发表于2018-02-12 18:51 被阅读0次
  • nsswitch

    • ldconfig | grep libnss
    • getent
      • getent passwd 测试获得的数据是否正确
  • pam

    • ls /lib64/security/
    • type control module module-arguments
      • type
        • auth
        • account
        • password
        • session
      • control
        • required 通过继续 否决继续,影响最终结果
        • requisite 一票否决权 通过继续
        • sufficient 一票通过权(前提是前面的required都通过了) 否决无效
          • (if a prior required module has failed the success of this one is ignored)如果先前需要的模块失败了,这个模块的成功就被忽略了。
        • optional 可选
        • include 其它文件决定 移交权力
        • substack


          111.png
112.png 113.png

相关文章

网友评论

      本文标题:nsswitch & pam

      本文链接:https://www.haomeiwen.com/subject/nbfdtftx.html