refactor(profiles): use @{bin} and @{lib} in profiles (7)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

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