TMAegis베타
solaris 관련 규칙 더 보기

Oracle Solaris

TMA-SOLARIS-5.1

Set Sticky Bit on World Writable Directories

높음레벨 1수동 검토solaris

설명

When the so-called sticky bit (set with chmod +t) is set on a directory, then only the owner of a file may remove that file from the directory (as opposed to the usual behavior where anybody with write access to that directory may remove the file). Files in directories that have had the 'sticky bit' set, can only be deleted by users that have both write permissions for the directory in which the file resides, as well as ownership of the file or directory, or has sufficient privilege.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Perform the following to verify that the result is as recommended: # find / \( -fstype nfs -o -fstype cachefs -o -fstype autofs -o -fstype ctfs -o -fstype mntfs -o -fstype objfs -o -fstype proc \) -prune -o -type d \( - perm -0002 -a ! -perm -1000 \) -ls No output should be returned.

조치 방법

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

To set the sticky bit on a directory, run the following command: # chmod +t [directory name]

속성

운영 체제
모두
태그
solarispermissions
참고 자료
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 5.1 Set Sticky Bit on World Writable Directories