]> git.ipfire.org Git - thirdparty/shadow.git/commit
passwd: check_password: Use shadow entry for logs
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 16 Dec 2025 09:03:43 +0000 (10:03 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 16 Dec 2025 14:10:24 +0000 (15:10 +0100)
commitd37f63a2b367fa22d14ed2257a6199b26be1fa7c
tree0c8e706f58e2e630b023b91912f29e7880cfbfea
parent5719f1ec5397e4634f1ca1f714f2dfa3eb914fde
passwd: check_password: Use shadow entry for logs

Always use the name in shadow entry for logging. This reduces the
amount of data retrieved from password entry to bare minimum, i.e.
passing through into library call.

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
src/passwd.c