feat(fsp): setup RBAC mapping in auth enabled profiles.
This commit is contained in:
parent
d9e6e686e0
commit
2282128cbd
6 changed files with 45 additions and 10 deletions
|
|
@ -25,6 +25,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ssl_certs>
|
||||
include <abstractions/wutmp>
|
||||
include <mappings/sshd> #aa:only RBAC
|
||||
|
||||
capability audit_write,
|
||||
capability chown,
|
||||
|
|
@ -60,13 +61,13 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{bin}/@{shells} rUx,
|
||||
@{bin}/false rix,
|
||||
@{sbin}/nologin rPx,
|
||||
@{bin}/passwd rPx,
|
||||
@{lib}/{openssh,ssh}/sftp-server rPx,
|
||||
@{lib}/{openssh,ssh}/sshd-auth rPx,
|
||||
@{lib}/{openssh,ssh}/sshd-session rix,
|
||||
@{bin}/@{shells} Ux, #aa:exclude RBAC
|
||||
@{bin}/false ix,
|
||||
@{sbin}/nologin Px,
|
||||
@{bin}/passwd Px,
|
||||
@{lib}/{openssh,ssh}/sftp-server Px,
|
||||
@{lib}/{openssh,ssh}/sshd-auth Px,
|
||||
@{lib}/{openssh,ssh}/sshd-session ix,
|
||||
|
||||
@{etc_ro}/environment r,
|
||||
@{etc_ro}/security/limits.d/{,*.conf} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue