TMAegis
macos 관련 규칙 더 보기

TMA-MACOS-2.13.3

Ensure Automatic Login Is Disabled

높음레벨 1자동macos

설명

The automatic login feature saves a user's system access credentials and bypasses the login screen. Instead, the system automatically loads to the user's desktop screen.

점검 방법

감사 방식: 셸 명령

shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
  let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow').objectForKey('com.apple.login.mcx.DisableAutoLoginClient'))
  let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow').objectForKey('autoLoginUser'))
  if ( pref1 == 1 || pref2 == null ) {
    return("true")
  } else {
    return("false")
  }
}
EOS
예상 출력
true

조치 방법

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

Profile (preferred): com.apple.loginwindow com.apple.login.mcx.DisableAutoLoginClient = <true/>. Terminal: sudo /usr/bin/defaults delete /Library/Preferences/com.apple.loginwindow autoLoginUser. GUI: System Settings > Users & Groups > Set Automatic login in as... to Off.

속성

운영 체제
macos-26
태그
macossystem-settings
참고 자료
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.13.3 Ensure Automatic Login Is Disabled

이 호스트 점검하기

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

shell
tmaegis scan --target macos