简体   繁体   English

如何在arch linux 3.12内核中启用审计框架?

[英]how to enable audit framework in arch linux 3.12 kernel?

I want to use audit framework on my latest arch linux, but running sudo auditctl -w /home/ in console gives me 我想在我最新的arch linux上使用审计框架 ,但在控制台中运行sudo auditctl -w /home/给了我

Error - audit support not in kernel Cannot open netlink audit socket

I tried to enable of course audit via kernel boot params setting audit flag: GRUB_CMDLINE_LINUX_DEFAULT="quiet audit=1" but nothing changes after reboot, still the same error. 我尝试启用当然通过内核启动参数设置审计标志审计: GRUB_CMDLINE_LINUX_DEFAULT="quiet audit=1"但重启后没有任何变化,仍然是同样的错误。

Anybody knows how to fix it? 有谁知道如何解决它?

Recompile a kernel using ABS to get audit support. 使用ABS重新编译内核以获得审计支持。 You will need to add CONFIG_AUDIT=y in the config file before makepkg -s . 您需要在makepkg -s之前在配置文件中添加CONFIG_AUDIT=y

PS Compilation might take very long. PS编译可能需要很长时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM