logo

apparmor.d

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

usr.sbin.nmbd (854B)


  1. abi <abi/3.0>,
  2. include <tunables/global>
  3. profile nmbd /usr/{bin,sbin}/nmbd {
  4. include <abstractions/base>
  5. include <abstractions/nameservice>
  6. include <abstractions/samba>
  7. capability net_bind_service,
  8. @{PROC}/sys/kernel/core_pattern r,
  9. /usr/{bin,sbin}/nmbd mr,
  10. /var/{cache,lib}/samba/browse.dat* rw,
  11. /var/{cache,lib}/samba/gencache.dat rw,
  12. /var/{cache,lib}/samba/wins.dat* rw,
  13. /var/{cache,lib}/samba/smb_krb5/ rw,
  14. /var/{cache,lib}/samba/smb_krb5/krb5.conf* rw,
  15. /var/{cache,lib}/samba/smb_tmp_krb5.* rw,
  16. /var/{cache,lib}/samba/sync.* rw,
  17. /var/{cache,lib}/samba/unexpected rw,
  18. /var/cache/samba/msg/ rw,
  19. /var/cache/samba/msg/* w,
  20. @{run}/nmbd.pid rwk,
  21. @{run}/samba/** rwk,
  22. @{run}/systemd/notify w,
  23. # Site-specific additions and overrides. See local/README for details.
  24. include if exists <local/usr.sbin.nmbd>
  25. }