mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-08 18:31:03 +01:00

This changed the profile names and needs adjustments to "signal peer=..." rules, which is something we should avoid in an old branch. The reverted commit is commit0ce15469ec
Author: Cameron Nemo <camerontnorman@gmail.com> Date: Wed Jul 25 14:07:35 2018 -0700 profiles: support distributions which merge sbin into bin Closes #8 (cherry picked from commit9ab45d811e
) Signed-off-by: John Johansen <john.johansen@canonical.com>
37 lines
886 B
Text
37 lines
886 B
Text
# Last Modified: Tue Jan 3 00:17:40 2012
|
|
#include <tunables/global>
|
|
|
|
/usr/sbin/smbldap-useradd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/bash>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/perl>
|
|
|
|
/dev/tty rw,
|
|
/{,usr/}bin/bash ix,
|
|
/etc/init.d/nscd Cx,
|
|
/etc/shadow r,
|
|
/etc/smbldap-tools/smbldap.conf r,
|
|
/etc/smbldap-tools/smbldap_bind.conf r,
|
|
/usr/sbin/smbldap-useradd r,
|
|
/usr/sbin/smbldap_tools.pm r,
|
|
/var/log/samba/log.smbd w,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.sbin.smbldap-useradd>
|
|
|
|
profile /etc/init.d/nscd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability sys_ptrace,
|
|
|
|
/{,usr/}bin/bash r,
|
|
/{,usr/}bin/mountpoint rix,
|
|
/{,usr/}bin/systemctl rix,
|
|
/dev/tty rw,
|
|
/etc/init.d/nscd r,
|
|
/etc/rc.status r,
|
|
|
|
}
|
|
}
|