How to Install libpam-chroot in Ubuntu 18.04

Install libpam-chroot by entering the following commands in the terminal:

sudo apt update
sudo apt install libpam-chroot


Chroot Pluggable Authentication Module for PAM

This package includes a special (but not thoroughly tested) PAM module to provide chrooted (restricted) environments for users. The module tries to provide a transparent wrapper around the average user, one that puts them in a fake file-system (eg, their '/' is really /some/where/else). . In order to setup this environment in Debian please read the README.Debian as well as the detailed example provided in /usr/share/doc/libpam-chroot/examples


Version: 0.9-4.3

Section: universe/devel