From 502157aaebacd5c11adb9e8d02e23a34603c98b7 Mon Sep 17 00:00:00 2001 From: upstream Date: Fri, 2 Oct 2026 16:51:16 +0200 Subject: [PATCH] Upstream proxmox-git/pve-access-control state of the touched files before 42a41effd5 --- src/PVE/Auth/PAM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Auth/PAM.pm b/src/PVE/Auth/PAM.pm index 11750c5..8586da5 100644 --- a/src/PVE/Auth/PAM.pm +++ b/src/PVE/Auth/PAM.pm @@ -25,7 +25,7 @@ sub authenticate_user { my ($class, $config, $realm, $username, $password) = @_; # user (www-data) need to be able to read /etc/passwd /etc/shadow - die "no password\n" if !defined($password) || $password eq ''; + die "no password\n" if !$password; # PAM modules may temporarily override $SIG{CHLD}, causing SIGCHLDs from # RESTEnvironment workers to be lost. Running the PAM interaction in a fork