jail-shell icon indicating copy to clipboard operation
jail-shell copied to clipboard

No such file or directory

Open m9rco opened this issue 5 years ago • 6 comments

pam_jail_shell.c:29:34: fatal error: security/pam_modules.h: No such file or directory #include <security/pam_modules.h>

m9rco avatar Dec 31 '19 09:12 m9rco

centos

m9rco avatar Dec 31 '19 10:12 m9rco

install pam-dev https://centos.pkgs.org/7/centos-x86_64/pam-devel-1.1.8-22.el7.x86_64.rpm.html

pymumu avatar Dec 31 '19 11:12 pymumu

yum install -y pam-devel

still not feasible

m9rco avatar Jan 02 '20 08:01 m9rco

docker run -itd centos:7.4.1708

m9rco avatar Jan 02 '20 08:01 m9rco

** 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

maietta avatar May 14 '20 15:05 maietta

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

maietta avatar May 14 '20 15:05 maietta