TMAegis베타
solaris 관련 규칙 더 보기

Oracle Solaris

TMA-SOLARIS-7.3

Set Default umask for users

보통레벨 1자동solaris

설명

The default umask(1) determines the permissions of files created by users. The user creating the file has the discretion of making their files and directories readable by others via the chmod(1) command. Setting a very secure default value for umask ensures that users make a conscious choice about their file permissions. A default umask setting of 077 causes files and directories created by users to not be readable by any other user on the system. Audit: UMASK must be 027 (or the stricter 077).

점검 방법

감사 방식: 파일 패턴

파일
/etc/default/login
패턴
(?m)^UMASK=0?(27|77)\s*$

조치 방법

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

Perform the following to implement the recommended state: # cd /etc/default # awk '/#UMASK=/ { $1 = "UMASK=027" } { print }' login > login.CIS # mv login.CIS login

속성

운영 체제
모두
태그
solarisaccounts
참고 자료
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.3 Set Default umask for users

이 호스트 점검하기

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

shell
tmaegis scan --target solaris