未找到 update-aide.conf 命令

未找到 update-aide.conf 命令

我正在尝试设置助手我在我的 ubuntu 服务器上安装了 IDS,我按照官方的安装指南进行操作,但是当我尝试使用命令“更新助手配置文件“生成新配置时出现错误

$ update-aide.conf: command not found

我尝试使用以下方法在系统中搜索文件寻找但什么也没找到:

$ sudo find / -name "update-aide.conf"
$ 

我尝试多次重新安装助手,但仍然出现同样的错误。

系统:Ubuntu 22.04 LTS 服务器 - 1GB 内存

答案1

自 v0.17 起,aide支持包含目录和可执行配置文件(请参阅@@x_include中的宏man 5 aide.conf)。这就是为什么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 <[email protected]>  Sun, 17 Jan 2021 16:29:27 +0100

相关内容