Install libpam-cap by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-cap
POSIX 1003.1e capabilities (PAM module)
Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges. . This package contains the PAM module for enforcing capabilities on users and groups at PAM session start time.