refactor(profiles): use @{bin} and @{lib} in profiles (4)
This commit is contained in:
parent
27daa7c9bb
commit
43b0f09b65
173 changed files with 909 additions and 916 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/add{user,group}
|
||||
@{exec_path} = @{bin}/add{user,group}
|
||||
profile adduser @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -20,21 +20,21 @@ profile adduser @{exec_path} {
|
|||
capability fsetid,
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/find rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/find rix,
|
||||
@{bin}/rm rix,
|
||||
|
||||
/{usr/,}{s,}bin/groupadd rPx,
|
||||
/{usr/,}{s,}bin/groupdel rPx,
|
||||
/{usr/,}{s,}bin/useradd rPx,
|
||||
/{usr/,}{s,}bin/userdel rPx,
|
||||
/{usr/,}{s,}bin/usermod rPx,
|
||||
/{usr/,}bin/chage rPx,
|
||||
/{usr/,}bin/chfn rPx,
|
||||
/{usr/,}bin/gpasswd rPx,
|
||||
/{usr/,}bin/passwd rPx,
|
||||
@{bin}/chage rPx,
|
||||
@{bin}/chfn rPx,
|
||||
@{bin}/gpasswd rPx,
|
||||
@{bin}/groupadd rPx,
|
||||
@{bin}/groupdel rPx,
|
||||
@{bin}/passwd rPx,
|
||||
@{bin}/useradd rPx,
|
||||
@{bin}/userdel rPx,
|
||||
@{bin}/usermod rPx,
|
||||
|
||||
/etc/{group,passwd,shadow} r,
|
||||
/etc/adduser.conf r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue