diff options
author | Jonathan Krebs <jonny@git2022.olpp.net> | 2023-05-15 13:57:46 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-05-17 20:18:03 +0000 |
commit | 52e49e17acba24d2a1dd211bae857043c20931f7 (patch) | |
tree | 84245e93f34fb2e168de81b1c453cb07c7fb6925 /modules/pam_unix/support.h | |
parent | e75e15c7eea15b3aa48026be209239179b747222 (diff) | |
download | pam-52e49e17acba24d2a1dd211bae857043c20931f7.tar.gz pam-52e49e17acba24d2a1dd211bae857043c20931f7.tar.bz2 pam-52e49e17acba24d2a1dd211bae857043c20931f7.zip |
pam_shells: return PAM_USER_UNKNOWN if getpwnam fails
Until before, in this case PAM_AUTH_ERR was returned. This leads to unknown
users being logged with the unknown username.
Now it resembles the behaviour of other modules like pam_unix in this case.
Diffstat (limited to 'modules/pam_unix/support.h')
0 files changed, 0 insertions, 0 deletions