mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge Move pam-related permissions to abstractions/authentication
... instead of keeping them in the smbd profile.
For details, see c09f58a364
and
https://bugzilla.opensuse.org/show_bug.cgi?id=1220032#c12
Also replace /usr/etc/ with @{etc_ro} to that also /etc/ is covered.
Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1220032#c12
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1191
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
f334884787
2 changed files with 7 additions and 3 deletions
|
@ -35,6 +35,13 @@
|
|||
owner /proc/@{pid}/loginuid r,
|
||||
/{,usr/}{,s}bin/unix_chkpwd Px,
|
||||
|
||||
# pam_env
|
||||
@{etc_ro}/environment r,
|
||||
|
||||
# pam_limit
|
||||
@{etc_ro}/security/limits.d/ r,
|
||||
@{etc_ro}/security/limits.d/*.conf r,
|
||||
|
||||
# gssapi
|
||||
@{etc_ro}/gss/mech r,
|
||||
@{etc_ro}/gss/mech.d/ r,
|
||||
|
|
|
@ -32,9 +32,6 @@ profile smbd /usr/{bin,sbin}/smbd {
|
|||
/etc/samba/* rwk,
|
||||
@{PROC}/@{pid}/mounts r,
|
||||
@{PROC}/sys/kernel/core_pattern r,
|
||||
/usr/etc/environment r,
|
||||
/usr/etc/security/limits.d/ r,
|
||||
/usr/etc/security/limits.d/*.conf r,
|
||||
/usr/lib*/samba/vfs/*.so mr,
|
||||
/usr/lib*/samba/auth/*.so mr,
|
||||
/usr/lib*/samba/charset/*.so mr,
|
||||
|
|
Loading…
Add table
Reference in a new issue