User Tools

Site Tools


ubuntu:pam:configure_pam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:pam:configure_pam [2019/12/01 12:53] peterubuntu:pam:configure_pam [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 50: Line 50:
 account required pam_nologin.so account required pam_nologin.so
 </code> </code>
 +
 +----
 +
 +===== Understanding PAM Management Groups and Control-flags =====
 +
 +PAM authentication tasks are separated into four independent management groups.
 +
 +These groups manage different aspects of a typical user’s request for a restricted service.
 +
 +A module is associated to one these management group types:
 +
 +  * **account:** provide services for account verification: has the user’s password expired?; is this user permitted access to the requested service?.
 +  * **authentication:** authenticate a user and set up user credentials.
 +  * **password:** are responsible for updating user passwords and work together with authentication modules.
 +  * **session:** manage actions performed at the beginning of a session and end of a session.
 +
 +PAM loadable object files (the modules) are to be located in the following directory: /lib/security/ or /lib64/security depending on the architecture.
 +
 +The supported control-flags are:
 +
 +  * **requisite:** failure instantly returns control to the application indicating the nature of the first module failure.
 +  * **required:** all these modules are required to succeed for libpam to return success to the application.
 +  * **sufficient:** given that all preceding modules have succeeded, the success of this module leads to an immediate and successful return to the application (failure of this module is ignored).
 +  * **optional:** the success or failure of this module is generally not recorded.
 +
 +In addition to the above are the keywords, there are two other valid control flags:
 +
 +  * **include:** include all lines of given type from the configuration file specified as an argument to this control.
 +  * **substack:** include all lines of given type from the configuration file specified as an argument to this control.
  
ubuntu/pam/configure_pam.1575204820.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki