mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-30 05:13:29 +08:00
build: install pam files
This commit is contained in:
parent
167acac140
commit
12cd7ce9de
@ -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