TMAegis
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.8.2

Ensure root user default shell is ksh

CaoCấp 1Tự độngaix

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
command -v lsuser >/dev/null 2>&1 || exit 1; lsuser -a shell root 2>/dev/null
Đầu ra mong đợi
root shell=/usr/bin/ksh

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
aixaccounts
Tham chiếu
CIS IBM AIX 7 Benchmark v1.2.0 - 4.8.2 Ensure root user default shell is ksh

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target aix