diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-08 15:05:46 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-08 15:05:46 -0500 |
commit | a25ccbd8f2d5198e1b9f63d6ae944635e2ff64e7 (patch) | |
tree | 986084739b376082e5b26a9b8282e54864474061 /pam | |
parent | 8807e954c4eb49abc10934154415cd4e4ca72b61 (diff) |
build: install pam files
Diffstat (limited to 'pam')
-rw-r--r-- | pam/meson.build | 9 | ||||
-rw-r--r-- | pam/start-stop-daemon | 6 | ||||
-rw-r--r-- | pam/supervise-daemon | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/pam/meson.build b/pam/meson.build new file mode 100644 index 00000000..81c019ea --- /dev/null +++ b/pam/meson.build @@ -0,0 +1,9 @@ +pam_dir = get_option('sysconfdir') / 'pam.d' + +pam_files = [ + 'start-stop-daemon', + 'supervise-daemon', + ] + +install_data(pam_files, + install_dir : pam_dir) diff --git a/pam/start-stop-daemon b/pam/start-stop-daemon new file mode 100644 index 00000000..a1bada22 --- /dev/null +++ b/pam/start-stop-daemon @@ -0,0 +1,6 @@ +#%PAM-1.0 + +auth required pam_permit.so +account required pam_permit.so +password required pam_deny.so +session optional pam_limits.so diff --git a/pam/supervise-daemon b/pam/supervise-daemon new file mode 100644 index 00000000..a1bada22 --- /dev/null +++ b/pam/supervise-daemon @@ -0,0 +1,6 @@ +#%PAM-1.0 + +auth required pam_permit.so +account required pam_permit.so +password required pam_deny.so +session optional pam_limits.so |