diff --git a/src/PVE/Auth/PAM.pm b/src/PVE/Auth/PAM.pm index 8586da5..c2b767d 100644 --- a/src/PVE/Auth/PAM.pm +++ b/src/PVE/Auth/PAM.pm @@ -89,7 +89,10 @@ sub store_password { push @$cmd, '-p', $epw, $username; - run_command($cmd, errmsg => 'change password failed'); + run_command( + $cmd, + errmsg => "changing the password of the PAM user '$username' on the host system failed", + ); } 1;