Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-133109 / 25.04 / Refactor PAM config generation #15218

Merged
merged 4 commits into from
Dec 23, 2024
Merged

Conversation

anodos325
Copy link
Contributor

This commit refactors how we generate custom PAM configuration lines so as to force them to run though a parser, and adds tests for said parser. pam_tty_audit is also enabled for interactive sessions for root account if for some reason a user gets interactive root session when GPOS STIG is enabled (this should never happen).

@bugclerk bugclerk changed the title Refactor PAM config generation NAS-133109 / 25.04 / Refactor PAM config generation Dec 16, 2024
@bugclerk
Copy link
Contributor

This commit refactors how we generate custom PAM configuration
lines so as to force them to run though a parser, and adds tests
for said parser. pam_tty_audit is also enabled for interactive
sessions for root account if for some reason a user gets interactive
root session when GPOS STIG is enabled (this should never happen).
@anodos325 anodos325 requested a review from bmeagherix December 17, 2024 16:28
@anodos325 anodos325 dismissed mgrimesix’s stale review December 23, 2024 12:43

Fixed requested change.

@anodos325 anodos325 merged commit 7c79c21 into master Dec 23, 2024
2 checks passed
@anodos325 anodos325 deleted the pam-stig branch December 23, 2024 12:44
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants