本节介绍如何在 ALT SP 操作系统中以封闭软件环境模式启动应用程序。
要在 ALT SP 操作系统中运行该应用程序:
integrity-remover
groupadd kesl
cat /etc/group | grep kesl
cp /usr/share/integrity/policy /etc/integrity/policy
vim /etc/integrity/policy
dont_measure fsmagic=0xf97cff8c行(通常这是dont_measure部分的最后一行)之后,添加行dont_measure fgroup=<GUID>,其中<GUID>是按照这些说明的步骤 2 创建的组的唯一标识符)。dont_appraise fsmagic=0x27e0eb行(通常这是dont_appraise部分的最后一行)之后,添加行dont_appraise fgroup=<GUID>,其中<GUID>是按照这些说明的步骤 2 创建的组的唯一标识符)。vim /usr/sbin/integrity-sign
find -P开头的行中,将 Kaspersky Endpoint Security 应用程序在 /var/opt 和 /opt 下的目录添加到每个目录枚举的末尾。cd /var/opt/kaspersky/kesl/<内部版本号_*>/var/opt/kaspersky/kesl/private
chown -R root:kesl updates/
find updates -type d -exec chmod g+s {} \;
cd /opt/kaspersky/kesl/lib64
chown -R root:kesl updatable_modules/
find updatable_modules -type d -exec chmod g+s {} \;
cd /var/opt/kaspersky/kesl/common/
chown -R root:kesl temp/
find temp -type d -exec chmod g+s {} \;
cd /var/opt/kaspersky/
chown -R root:kesl klnagent/
find klnagent/ -type d -exec chmod g+s {} \;
cd /opt/kaspersky/
chown -R root:kesl klnagent64/
find klnagent64/ -type d -exec chmod g+s {} \;
integrity-applier -i -A
cat /proc/cmdline
命令输出应包含行 lsm=integrity ima_hash=sha512 ima_appraise=enforce.
kesl-control --start 6 -W
如果输出包含EventType=BasesApplied事件,则表示数据库更新已正确执行。
如果应用程序以Light Agent 模式用于保护虚拟环境,请等待应用程序数据库自动更新。您可以使用kesl-control --app-info命令查看有关数据库更新的信息。输出包含关于应用程序数据库是否已加载以及应用程序数据库上次发布时间的信息。
systemctl restart kesl