LPIC-2 Exam 202 (Linux Engineer) — Question 35

Which of the following PAM modules sets and unsets environment variables?

Answer options

Correct answer: D

Explanation

The correct answer is D, pam-env, as it specifically handles the setting and unsetting of environment variables in the PAM framework. Options A, B, and C do not provide functionality for managing environment variables, while E, pam_export, is used for exporting environment variables but does not encompass the full management aspect.