In a PAM configuration file, which of the following is true about the required control flag?
A.
If the module returns success, no more modules of the same type will be invoked
B.
The success of the module is needed for the module-type facility to succeed. If it returns a failure, control is returned to the calling application
C.
The success of the module is needed for the module-type facility to succeed. However, all remaining modules of the same type will be invoked
D.
The module is not critical and whether it returns success or failure is not important
E.
If the module returns failure, no more modules of the same type will be invoked
C is correct!
CONTROL Indicates the behavior of a PAM module. Each module can have the following control flags:
-required: A module with this flag must be successfully processed before the authentication may proceed. After the failure of a module with the required flag, all other modules with the same flag are processed before the user receives a message about the failure of the authentication attempt.
Ref.1. : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/managing_smart_cards/pam_configuration_files
Ref.2. : https://documentation.suse.com/sles/12-SP4/html/SLES-all/cha-pam.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Armina
7 months agoMBison
1 year, 4 months ago