IBM AIX
TMA-AIX-6.2.2
Ensure access to crontab is configured
설명
crontab is the program used to install, deinstall, list or execute the tables used to drive the cron daemon. Each user can have their own crontab, and though files are created, they are not intended to be edited directly. If the /var/adm/cron/cron.allow file exists, then you must be listed (one user per line) therein in order to be allowed to use this command. Audit: cron.deny must not exist and cron.allow must exist (review its users).
점검 방법
감사 방식: 셸 명령
[ ! -e /var/adm/cron/cron.deny ] && [ -f /var/adm/cron/cron.allow ] && echo compliant || echo "cron.deny present or cron.allow missing"- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Remove /var/adm/cron/cron.deny if it exists: # /usr/bin/rm /var/adm/cron/cron.deny IF /var/adm/cron/cron.allow does not exist, create the file: # print "root\nadm" > /var/adm/cron/cron.allow IF /var/adm/cron/cron.allow already exists, ensure that it contains at least the root and adm users.
속성
- 운영 체제
- 모두
- 태그
- aixpermissions
- 참고 자료
- CIS IBM AIX 7 Benchmark v1.2.0 - 6.2.2 Ensure access to crontab is configured
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target aix