TMAegisBeta
More rules for websphere

IBM WebSphere

TMA-WEBSPHERE-1.1

Ensure root does not have ownership of Websphere Liberty binaries

HighLevel 1Manual reviewwebsphere

Description

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.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --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.

How it is fixed

Fix method: Guidance or infrastructure 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}

Properties

Operating systems
Any
Tags
webspheremanual-review
Reference
CIS IBM WebSphere Liberty Benchmark v1.0.0 - 1.1 Ensure root does not have ownership of Websphere Liberty binaries