diff options
author | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2024-10-09 10:14:31 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2024-10-09 21:50:47 +0300 |
commit | 8ede9e355c766baa16b9d17260bf58d441c7522a (patch) | |
tree | ed7e3ef004efbb7dad2171fae20733b2c4850bd5 | |
parent | 0e86408dada5c6829b1f1b4603fe79f3c446edfd (diff) | |
download | openbmc-8ede9e355c766baa16b9d17260bf58d441c7522a.tar.xz |
meta-ibm: Remove google_auth from common-account
The `pam_google_authenticator.so` module was incorrectly configured in
`common-account` file. This module provides authentication functionality
but does not offer any account management functions.
Leaving this module in common-account results in the `pam_acct_mgmt()`
function attempting to invoke `pam_google_authenticator.so`, which
causes an error due to the absence of `pam_sm_acct_mgmt()`.
Note: This error is logged but ignored due to the `default=ignore`
directive, making this issue mostly harmless.
Removing this line eliminates unnecessary error logging. This commit
avoids unnecessary error handling during account management.
Change-Id: I9db3987c9f02a494da65d8465a2efe0fc15a6c67
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
-rw-r--r-- | meta-ibm/recipes-extended/pam/libpam/pam.d/common-account | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-ibm/recipes-extended/pam/libpam/pam.d/common-account b/meta-ibm/recipes-extended/pam/libpam/pam.d/common-account index f9759d5f5f..9a739ecde2 100644 --- a/meta-ibm/recipes-extended/pam/libpam/pam.d/common-account +++ b/meta-ibm/recipes-extended/pam/libpam/pam.d/common-account @@ -14,7 +14,6 @@ # # here are the per-package modules (the "Primary" block) -account [success=ignore default=ignore] pam_google_authenticator.so account [success=2 new_authtok_reqd=done default=ignore] pam_unix.so -account [success=1 new_authtok_reqd=done default=ignore] pam_ldap.so ignore_unknown_user ignore_authinfo_unavail # here's the fallback if no module succeeds |