refactor(profiles): use @{bin} and @{lib} in profiles (3)
This commit is contained in:
parent
2eed3b725f
commit
27daa7c9bb
355 changed files with 1473 additions and 1472 deletions
|
|
@ -15,7 +15,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/sshd
|
||||
@{exec_path} = @{bin}/sshd
|
||||
profile sshd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
|
|
@ -59,12 +59,12 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}{s,}bin/nologin rPx,
|
||||
/{usr/,}bin/{,b,d,rb}ash rUx,
|
||||
/{usr/,}bin/{c,k,tc,z}sh rUx,
|
||||
/{usr/,}bin/false rix,
|
||||
/{usr/,}bin/passwd rPx,
|
||||
/{usr/,}lib/openssh/sftp-server rPx,
|
||||
@{bin}/{,b,d,rb}ash rUx,
|
||||
@{bin}/{c,k,tc,z}sh rUx,
|
||||
@{bin}/false rix,
|
||||
@{bin}/nologin rPx,
|
||||
@{bin}/passwd rPx,
|
||||
@{lib}/openssh/sftp-server rPx,
|
||||
|
||||
@{etc_ro}/environment r,
|
||||
@{etc_ro}/security/limits.d/{,*.conf} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue