Archlinux has no sbin.

sbin -> {s,}bin for Archlinux support.
Purposelly not replaced on Debian only programs
This commit is contained in:
Alexandre Pujol 2021-04-01 23:15:47 +01:00
parent f571269a2d
commit 79904cb616
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
158 changed files with 254 additions and 253 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}sbin/useradd
@{exec_path} = /{usr/,}{s,}bin/useradd
profile useradd @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -38,7 +38,7 @@ profile useradd @{exec_path} {
/{usr/,}bin/usermod rPx,
/{usr/,}sbin/pam_tally2 rCx -> pam_tally2,
/{usr/,}{s,}bin/pam_tally2 rCx -> pam_tally2,
/etc/login.defs r,
@ -78,7 +78,7 @@ profile useradd @{exec_path} {
capability audit_write,
/{usr/,}sbin/pam_tally2 mr,
/{usr/,}{s,}bin/pam_tally2 mr,
/var/log/tallylog rw,