TMAegis베타
solaris 관련 규칙 더 보기

Oracle Solaris

TMA-SOLARIS-6.5

Remove Autologin Capabilities from the GNOME desktop

보통레벨 1자동solaris

설명

The GNOME Display Manager is used for login session management. See the manual page gdm(1) for more information. By default, GNOME automatic login is defined in /etc/pam.d/gdm-autologin to allow users to access the system without a password. As automatic logins are a known security risk for other than "kiosk" types of systems, GNOME automatic login should be disabled in /etc/pam.d/gdm-autologin. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

점검 방법

감사 방식: 셸 명령

shell
f=/etc/pam.d/gdm-autologin; [ -f "$f" ] || { echo 0; exit 0; }; n=$(egrep "auth|account" "$f" | grep -vc "^#"); echo "$n"
예상 출력
0

조치 방법

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

Comment out or remove all lines from /etc/pam.d/gdm-autologin: # cp /etc/pam.d/gdm-autologin /etc/pam.d/gdm-autologin.orig # awk '{ if ( $1 ~ /auth/ || $1 ~ /account/) $1 = "#"$1 } { print };' /etc/pam.d/gdm-autologin > /etc/pam.d/gdm-autologin.CIS # cp /etc/pam.d/gdm-autologin.CIS /etc/pam.d/gdm-autologin

속성

운영 체제
모두
태그
solarisaccounts
참고 자료
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 6.5 Remove Autologin Capabilities from the GNOME desktop

이 호스트 점검하기

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

shell
tmaegis scan --target solaris