TMAegisБета
Другие правила для websphere

IBM WebSphere

TMA-WEBSPHERE-1.1

Ensure root does not have ownership of Websphere Liberty binaries

ВысокийУровень 1Ручная проверкаwebsphere

Описание

Preventing the root user from owning files in the ${wlp.install.dir} directory prevents unauthorized commands or files from being run. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

Check to ensure that no files or directories underneath ${wlp.install.dir} are owned by the root user or root group: ls -l -R ${wlp.install.dir} | awk '{print $3, $4}' Expected result: You should not see the root user or root group referenced in the output.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Set the ownership and group of ${wlp.install.dir} to something other than root: chown -R <non-root user>:<non-root group> ${wlp.install.dir}

Свойства

Операционные системы
Любая
Теги
webspheremanual-review
Источник
CIS IBM WebSphere Liberty Benchmark v1.0.0 - 1.1 Ensure root does not have ownership of Websphere Liberty binaries