首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更新-aide.conf命令找不到

更新-aide.conf命令找不到
EN

Server Fault用户
提问于 2022-09-26 01:33:59
回答 1查看 617关注 0票数 0

我试图在我的ubuntu服务器上设置助手 IDS,我按照正式的安装指南,但是当我尝试使用命令"update-aide.conf“生成新的配置时,我会出错。

代码语言:javascript
复制
$ update-aide.conf: command not found

我尝试使用find搜索系统中的文件,但一无所获:

代码语言:javascript
复制
$ sudo find / -name "update-aide.conf"
$ 

我多次尝试重新安装aide,同样的错误也发生了。

系统:Ubuntu22.04LTS服务器- 1GB Ram

EN

回答 1

Server Fault用户

回答已采纳

发布于 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

代码语言:javascript
复制
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 +0100
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1111551

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档