feat(profile): use @{sbin} for all program inside /usr/sbin.

This commit is contained in:
Alexandre Pujol 2025-04-28 21:27:57 +02:00
parent b8f2f38c72
commit fd17a77b17
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
270 changed files with 475 additions and 475 deletions

View file

@ -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,