TMAegis
solaris 관련 규칙 더 보기

TMA-SOLARIS-7.4

Set Default File Creation Mask for FTP Users

높음레벨 1자동solaris

설명

If FTP is permitted, set a strong, default file creation mask to apply to files created by the FTP server. Many users assume that the FTP server will use their system file creation mask; generally it does not. This setting ensures that files transmitted over FTP use a strong file creation mask. Audit: only evaluated where the FTP server is installed.

점검 방법

감사 방식: 파일 패턴

파일
/etc/proftpd.conf
패턴
(?m)^Umask\s+0?27\b

조치 방법

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

Perform the following to implement the recommended state: # cd /etc # if [ "`grep '^Umask' proftpd.conf`" ]; then awk '/^Umask/ { $2 = "027" } { print }' proftpd.conf > proftpd.conf.CIS mv proftpd.conf.CIS proftpd.conf else echo "Umask 027" >> proftpd.conf fi

속성

운영 체제
모두
태그
solarisaccounts
참고 자료
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.4 Set Default File Creation Mask for FTP Users

이 호스트 점검하기

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

shell
tmaegis scan --target solaris