Skip to content

a PAM module for limiting users' access to the filesystem

License

Notifications You must be signed in to change notification settings

JosefSchoenberger/pam_landlock

Repository files navigation

pam_landlock

a PAM module for limiting users' access to the filesystem

Installation

Run as root:

make install

Then, append

session required pam_landlock.so --allow-privs

to both /etc/pam.d/common-session (for interactive sessions) and /etc/pam.d/common-session-noninteractive (for non-interactive sessions).

For testing purposes, I recommend using optional instead of required to avoid locking yourself out of your own system.

Configuration

See the documentation in default.conf.

About

a PAM module for limiting users' access to the filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published