User min change pwd error - Can't locate Authen/PAM.pm

SYSTEM INFORMATION
OS type and version AlmaLinux 9.4
Webmin version 2.111
Usermin version 2.010
Virtualmin version 7.10.0
Theme version 21.10
Package updates All installed packages are up to date

Logged into Usermin and trying to change password give this error:

Can’t locate Authen/PAM.pm in @INC (you may need to install the Authen::PAM module) (@INC contains: /usr/libexec/usermin/vendor_perl /usr/libexec/usermin /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/libexec/usermin/ . …) at (eval 92) line 1. BEGIN failed–compilation aborted at (eval 92) line 1. : changepass/changepass.cgi (line 157)

PAM is installed so whats up with that?

My guess is that for some reason this package wasn’t installed. Go through your package manager. This link is an example of what you are probably looking for.

perl-Authen-PAM-0.16-37.el8.x86_64.rpm

rhel.pkgs.org/8/epel-x86_64/perl-Authen-PAM-0.16-37.el8.x86_64.rpm.html

Thx found and installed - although bizarely the UI for password change completes but doesn’t seem to work .

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.