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.

修正方法

修正方法: ガイダンスまたは IaC パッチ

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