Comment 0 for bug 1973317

Revision history for this message
Maddes (maddes.b) wrote :

The library pam_chroot.so is installed in the wrong location, therefore it cannot be loaded.
This prevents anyone (incl. root) to log in on systems that require module.

```
./auth.log:May 10 20:19:16 web-proxy sshd[981]: PAM unable to dlopen(pam_chroot.so): /lib/security/pam_chroot.so: cannot open shared object file: No such file or directory
./auth.log:May 10 20:19:16 web-proxy sshd[981]: PAM adding faulty module: pam_chroot.so
```

Current wrong location: `/usr/lib/x86_64-linux-gnu/pam_chroot.so`
Correct location: /lib/security/pam_chroot.so

Workaround:
Boot from a live linux system and move/copy/link file to correct location.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libpam-chroot 0.9-5
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri May 13 12:12:36 2022
InstallationDate: Installed on 2020-12-07 (521 days ago)
InstallationMedia: Ubuntu-Server 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: libpam-chroot
UpgradeStatus: Upgraded to jammy on 2022-05-10 (2 days ago)