logo

apparmor.d

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

authentication (1857B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2009 Novell/SUSE
  4. # Copyright (C) 2009-2012 Canonical Ltd
  5. # Copyright (C) 2019-2021 Christian Boltz
  6. #
  7. # This program is free software; you can redistribute it and/or
  8. # modify it under the terms of version 2 of the GNU General Public
  9. # License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12. abi <abi/3.0>,
  13. # Some services need to perform authentication of users
  14. # Such authentication almost certainly needs access to the local users
  15. # databases containing passwords, PAM configuration files, PAM libraries
  16. @{etc_ro}/nologin r,
  17. @{etc_ro}/pam.d/* r,
  18. @{etc_ro}/securetty r,
  19. @{etc_ro}/security/* r,
  20. @{etc_ro}/shadow r,
  21. @{etc_ro}/gshadow r,
  22. @{etc_ro}/pwdb.conf r,
  23. /{usr/,}lib{,32,64}/security/pam_filter/* mr,
  24. /{usr/,}lib{,32,64}/security/pam_*.so mr,
  25. /{usr/,}lib{,32,64}/security/ r,
  26. /{usr/,}lib/@{multiarch}/security/pam_filter/* mr,
  27. /{usr/,}lib/@{multiarch}/security/pam_*.so mr,
  28. /{usr/,}lib/@{multiarch}/security/ r,
  29. # kerberos
  30. include <abstractions/kerberosclient>
  31. # SuSE's pwdutils are different:
  32. @{etc_ro}/default/passwd r,
  33. @{etc_ro}/login.defs r,
  34. @{etc_ro}/login.defs.d/ r,
  35. @{etc_ro}/login.defs.d/*.defs r,
  36. # nis
  37. include <abstractions/nis>
  38. # winbind
  39. include <abstractions/winbind>
  40. # likewise
  41. include <abstractions/likewise>
  42. # smbpass
  43. include <abstractions/smbpass>
  44. # p11-kit (PKCS#11 modules configuration)
  45. include <abstractions/p11-kit>
  46. # Include additions to the abstraction
  47. include if exists <abstractions/authentication.d>