From a25ccbd8f2d5198e1b9f63d6ae944635e2ff64e7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 8 Sep 2021 15:05:46 -0500 Subject: build: install pam files --- pam/meson.build | 9 +++++++++ pam/start-stop-daemon | 6 ++++++ pam/supervise-daemon | 6 ++++++ 3 files changed, 21 insertions(+) create mode 100644 pam/meson.build create mode 100644 pam/start-stop-daemon create mode 100644 pam/supervise-daemon (limited to 'pam') 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 -- cgit v1.2.3