TMAegis베타
solaris 관련 규칙 더 보기

Oracle Solaris

TMA-SOLARIS-7.6

Lock Inactive User Accounts

보통레벨 1자동solaris

설명

Guidelines published by the U.S. Department of Defense specify that user accounts must be locked out after 35 days of inactivity. This number may vary based on the particular site's policy. Inactive accounts pose a threat to system security since the users are not logging in to notice failed login attempts or other anomalies. Audit: the useradd default inactive value (definact in /usr/sadm/defadduser, shown by useradd -D) must be 1-35 days; check existing accounts with logins -axo.

점검 방법

감사 방식: 파일 패턴

파일
/usr/sadm/defadduser
패턴
(?m)^definact=([1-9]|[12][0-9]|3[0-5])\s*$

조치 방법

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

useradd -D -f 35 (and for existing accounts: usermod -f 35 <user>)

속성

운영 체제
모두
태그
solarisaccounts
참고 자료
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.6 Lock Inactive User Accounts

이 호스트 점검하기

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

shell
tmaegis scan --target solaris