logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

usr.sbin.smbldap-useradd (947B)


  1. # Last Modified: Tue Jan 3 00:17:40 2012
  2. abi <abi/3.0>,
  3. include <tunables/global>
  4. profile smbldap-useradd /usr/{bin,sbin}/smbldap-useradd {
  5. include <abstractions/base>
  6. include <abstractions/bash>
  7. include <abstractions/nameservice>
  8. include <abstractions/perl>
  9. /dev/tty rw,
  10. /{,usr/}bin/bash ix,
  11. /etc/init.d/nscd Cx,
  12. /etc/shadow r,
  13. /etc/smbldap-tools/smbldap.conf r,
  14. /etc/smbldap-tools/smbldap_bind.conf r,
  15. /usr/{bin,sbin}/smbldap-useradd r,
  16. /usr/{bin,sbin}/smbldap_tools.pm r,
  17. /var/log/samba/log.smbd w,
  18. # Site-specific additions and overrides. See local/README for details.
  19. include if exists <local/usr.sbin.smbldap-useradd>
  20. profile /etc/init.d/nscd {
  21. include <abstractions/base>
  22. include <abstractions/nameservice>
  23. capability sys_ptrace,
  24. /{,usr/}bin/bash r,
  25. /{,usr/}bin/mountpoint rix,
  26. /{,usr/}bin/systemctl rix,
  27. /dev/tty rw,
  28. /etc/init.d/nscd r,
  29. /etc/rc.status r,
  30. }
  31. }