我试图在我的ubuntu服务器上设置助手 IDS,我按照正式的安装指南,但是当我尝试使用命令"update-aide.conf“生成新的配置时,我会出错。
$ update-aide.conf: command not found我尝试使用find搜索系统中的文件,但一无所获:
$ sudo find / -name "update-aide.conf"
$ 我多次尝试重新安装aide,同样的错误也发生了。
系统:Ubuntu22.04LTS服务器- 1GB Ram
发布于 2022-09-26 19:59:36
因为v0.17 aide支持包含目录和可执行配置文件(请参阅man 5 aide.conf中的@@x_include宏)。这就是为什么不再需要和提供update-aide.conf的原因。您可以直接调用aide,它将动态生成配置。
有关更多详细信息,请参见/usr/share/doc/aide/NEWS.Debian.gz:
aide (0.17-1) unstable; urgency=medium
[...]
Most of the functionality of update-aide.conf and the aide.wrapper
has moved into aide proper. The two scripts have been removed. This also
means that the @@{ROOTPREFIX} prefix is no longer added to every rule
written in the configuration. If you have been using this feature, please
consider one of these alternatives:
- the root_prefix configuration option allows you to specify a single
prefix
- write your own tool that, for example, copies the contents of
/etc/aide/aide.conf.d to /etc/aide/aide.conf.container.d and does the
appropriate preprocessing of the copied rules.
- write/generate your own per-container ruleset in a different directory
and @@x_include it appropriately.
[...]
-- Marc Haber Sun, 17 Jan 2021 16:29:27 +0100https://serverfault.com/questions/1111551
复制相似问题