jail-shell
jail-shell copied to clipboard
No such file or directory
pam_jail_shell.c:29:34: fatal error: security/pam_modules.h: No such file or directory #include <security/pam_modules.h>
centos
install pam-dev https://centos.pkgs.org/7/centos-x86_64/pam-devel-1.1.8-22.el7.x86_64.rpm.html
yum install -y pam-devel
still not feasible
docker run -itd centos:7.4.1708
** Install the missing PAM module, run your updates, then choose the following:
For Debian based distributions, try:
apt-get install libpam0g-dev
For RHEL, CentOS or Fedora based systems, use:
yum install gcc pam-devel
yum install -y pam-devel
still not feasible
You are not running a RHEL, CentOS or Fedora distribution. You may be running a Debian based system. Use this instead:
apt-get install libpam0g-dev