TMAegis
aix 관련 규칙 더 보기

TMA-AIX-4.1.2.11

Ensure root user has a dedicated home directory

높음레벨 1자동aix

설명

The root user must have a dedicated home directory and not use / as their home directory. By default, the home directory for the root user on AIX is /. This means that all configuration files and directories it creates are visible to all users and may be accessible if the root user has a weak umask setting. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

점검 방법

감사 방식: 셸 명령

shell
command -v lsuser >/dev/null 2>&1 || exit 1; out=$(lsuser -a home root 2>/dev/null) || exit 1; [ -n "$out" ] && [ "$out" != "root home=/" ] && echo compliant || echo "$out"
예상 출력
compliant

조치 방법

조치 방식: 가이드 또는 인프라 패치

Create a new home directory for the root user mkdir /root Set ownership and permissions on this directory chown root:system /root chmod 0700 /root Update the home directory for the root user chuser home=/root root Move any necessary configuration files or directories to this new directory

속성

운영 체제
모두
태그
aixaccounts
참고 자료
CIS IBM AIX 7 Benchmark v1.2.0 - 4.1.2.11 Ensure root user has a dedicated home directory

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target aix