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

修正方法

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

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