build: install pam files
This commit is contained in:
parent
8807e954c4
commit
a25ccbd8f2
@ -164,6 +164,9 @@ subdir('etc')
|
||||
subdir('init.d')
|
||||
subdir('local.d')
|
||||
subdir('man')
|
||||
if get_option('pam')
|
||||
subdir('pam')
|
||||
endif
|
||||
if get_option('pkgconfig')
|
||||
subdir('pkgconfig')
|
||||
endif
|
||||
|
9
pam/meson.build
Normal file
9
pam/meson.build
Normal file
@ -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)
|
6
pam/start-stop-daemon
Normal file
6
pam/start-stop-daemon
Normal file
@ -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
|
6
pam/supervise-daemon
Normal file
6
pam/supervise-daemon
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user