TMAegis
cos 관련 규칙 더 보기

TMA-COS-5.3.5

Ensure default user shell timeout is 900 seconds or less

낮음레벨 2수동 검토cos

설명

The default TMOUT determines the shell timeout for users. The TMOUT value is measured in seconds. Having no timeout value associated with a shell could allow an unauthorized user access to another user's shell session (e.g. user walks away from their computer and doesn't lock the screen). Setting a timeout value at least reduces the risk of this happening.

점검 방법

감사 방식: 수동 검토

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

Run the following commands and verify all TMOUT lines returned are 900 or less and at least one exists in each file. # grep "^TMOUT" /etc/bash/bashrc TMOUT=900 # grep "^TMOUT" /etc/profile TMOUT=900

조치 방법

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

Edit the /etc/bash/bashrc and /etc/profile files (and the appropriate files for any other shell supported on your system) and add or edit any umask parameters as follows: TMOUT=900

속성

운영 체제
모두
태그
container-optimized-oscos
참고 자료
CIS Google Container-Optimized OS Benchmark v1.2.0 - 5.3.5 Ensure default user shell timeout is 900 seconds or less