feat(profile): use @{sbin} for all program inside /usr/sbin.
This commit is contained in:
parent
b8f2f38c72
commit
fd17a77b17
270 changed files with 475 additions and 475 deletions
|
|
@ -15,7 +15,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/sshd
|
||||
@{exec_path} = @{sbin}/sshd
|
||||
profile sshd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
|
|
@ -62,7 +62,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/@{shells} rUx,
|
||||
@{bin}/false rix,
|
||||
@{bin}/nologin rPx,
|
||||
@{sbin}/nologin rPx,
|
||||
@{bin}/passwd rPx,
|
||||
@{lib}/{openssh,ssh}/sftp-server rPx,
|
||||
@{lib}/{openssh,ssh}/sshd-session rix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue