TMAegis
Thêm quy tắc cho aix

TMA-AIX-6.2.1

Ensure at is restricted to authorized users

CaoCấp 1Tự độngaix

Mô tả

at allows fairly complex time specifications, extending the POSIX.2 standard. It accepts times of the form HH:MM to run a job at a specific time of day. (If that time is already past, the next day is assumed.) You may also specify midnight, noon, or teatime (4pm) and you can have a time-of-day suffixed with AM or PM for running in the morning or the evening. Audit: at.deny must not exist and at.allow must exist (review its users).

Cách kiểm tra

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

shell
[ ! -e /var/adm/cron/at.deny ] && [ -f /var/adm/cron/at.allow ] && echo compliant || echo "at.deny present or at.allow missing"
Đầu ra mong đợi
compliant

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

Remove /var/adm/cron/at.deny if it exists: # /usr/bin/rm /var/adm/cron/at.deny IF /var/adm/cron/at.allow does not exist, create the file: # print "root\nadm" > /var/adm/cron/at.allow IF /var/adm/cron/at.allow already exists, ensure that it contains at least the root and adm users.

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 - 6.2.1 Ensure at is restricted to authorized users

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