TMAegisBeta
Weitere Regeln für websphere

IBM WebSphere

TMA-WEBSPHERE-1.1

Ensure root does not have ownership of Websphere Liberty binaries

HochStufe 1Manuelle Prüfungwebsphere

Beschreibung

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.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

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.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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}

Eigenschaften

Betriebssysteme
Beliebig
Tags
webspheremanual-review
Referenz
CIS IBM WebSphere Liberty Benchmark v1.0.0 - 1.1 Ensure root does not have ownership of Websphere Liberty binaries