TMAegisBeta
更多 aix 规则

IBM AIX

TMA-AIX-4.8.2

Ensure root user default shell is ksh

高级别 1自动化aix

说明

Ensure that the shell for the root user is set to /usr/bin/ksh Although the bash shell is available there are administrative processes that require the root user to be configured with the ksh shell as its default shell. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

检查方式

审计方法: Shell 命令

shell
command -v lsuser >/dev/null 2>&1 || exit 1; lsuser -a shell root 2>/dev/null
预期输出
root shell=/usr/bin/ksh

修复方式

修复方法: 操作指南或基础设施补丁

Execute the following command chuser shell=/usr/bin/ksh root

属性

操作系统
任意
标签
aixaccounts
参考
CIS IBM AIX 7 Benchmark v1.2.0 - 4.8.2 Ensure root user default shell is ksh

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target aix