middleware
middleware copied to clipboard
NAS-130855 / 24.10-RC.1 / Fail pam authentication if service file missing (by anodos325)
If our dedicated middleware pam service file is for some reason missing we should try to regenerate it and if that fails then authentication should fail. The reason for this is that in the absence of the specified file libpam will fall through to the default PAM configuration, which could lead to unexpected behavior.
Original PR: https://github.com/truenas/middleware/pull/14368 Jira URL: https://ixsystems.atlassian.net/browse/NAS-130855