Saltstack Official Linux Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536
  1. # 1.1.1.3 Ensure mounting of jffs2 filesystems is disabled
  2. #
  3. # Description
  4. # ===========
  5. # The jffs2 (journaling flash filesystem 2) filesystem type is a
  6. # log-structured filesystem used in flash memory devices.
  7. #
  8. # Rationale
  9. # =========
  10. # Removing support for unneeded filesystem types reduces the local attack
  11. # surface of the system. If this filesystem type is not needed, disable it.
  12. #
  13. # Audit
  14. # =====
  15. # Run the following commands and verify the output is as indicated:
  16. #
  17. # # modprobe -n -v jffs2
  18. # install /bin/true
  19. # # lsmod | grep jffs2
  20. # <No output>
  21. #
  22. # Remediation
  23. # ===========
  24. # Edit or create the file /etc/modprobe.d/CIS.conf and add the following line:
  25. #
  26. # install jffs2 /bin/true
  27. #
  28. parameters:
  29. linux:
  30. system:
  31. kernel:
  32. module:
  33. jffs2:
  34. install:
  35. command: /bin/true