還應該知道如何啟動和停止這些工具。
$ sudo /etc/init.d/apparmor start$ sudo /etc/init.d/apparmor stop$ sudo /etc/init.d/apparmor restart
而對於SELinux,各種模式代表什麼:
enforcing -- SELinux security policy is enforcedpermissive -- SELinux prints warnings instead of enforcingdisabled -- SELinux is fully disabled
Linux系統上的許多命令可以幫助管理安全性。上面的描述旨在介紹這些命令,但不解釋有關它們如何工作或可以使用的所有內容。
原文鏈接:
https://www.networkworld.com/article/3272286/open-source-tools/22-essential-security-commands-for-linux.html
閱讀更多 雲技術 的文章