pymumu / jail-shell

Jail-shell is a linux security tool mainly using chroot, namespaces technologies, limiting users to perform specific commands, and access sepcific directories.
GNU General Public License v2.0
116 stars 20 forks source link

No such file or directory #4

Open m9rco opened 4 years ago

m9rco commented 4 years ago

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

include <security/pam_modules.h>

m9rco commented 4 years ago

centos

pymumu commented 4 years ago

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

m9rco commented 4 years ago
yum install -y pam-devel

still not feasible

m9rco commented 4 years ago

docker run -itd centos:7.4.1708

maietta commented 4 years ago

** 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 commented 4 years ago
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