LPIC-2 Exam 202 (Linux Engineer) — Question 44
In a PAM configuration file, which of the following is true about the required control flag?
Answer options
- 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
Correct answer: C
Explanation
Option C is correct because in a PAM configuration, the required control flag indicates that all remaining modules of the same type will still be processed even if the current module succeeds. Options A and E misinterpret the flow of module execution, while B incorrectly states that control is returned to the calling application on failure, which is not the case for required modules. Option D implies the module's outcome is inconsequential, which contradicts the essence of the required control flag.