Linux-PAM

来源:互联网 发布:数据搜索的先后顺序 编辑:程序博客网 时间:2024/05/01 13:47

Linux-PAM deals with four separate types of (management) task. These are: authentication management; account management; session management; and password management.

    Here is a figure that describes the overall organization of Linux-PAM:  +----------------+  | application: X |  +----------------+       /  +----------+     +================+  | authentication-[---->--\--] Linux-   |--<--| PAM config file|  |       +        [----<--/--]   PAM    |     |================|  |[conversation()][--+    \  |          |     | X auth .. a.so |  +----------------+  |    /  +-n--n-----+     | X auth .. b.so |  |                |  |       __|  |           |           _____/  |  service user  |  A      |     |           |____,-----'  |                |  |      V     A  +----------------+  +------|-----|---------+ -----+------+                         +---u-----u----+    |      |      |                         |   auth....   |--[ a ]--[ b ]--[ c ]                         +--------------+                         |   acct....   |--[ b ]--[ d ]                         +--------------+                         |   password   |--[ b ]--[ c ]                         +--------------+                         |   session    |--[ e ]--[ c ]                         +--------------+
原创粉丝点击