macOS
TMA-MACOS15-2.13.3
Ensure Automatic Login Is Disabled
VisokaNivo 1Automatskamacos
Opis
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.
Kako se proverava
Metod provere: Komanda ljuske
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- Očekivani izlaz
true
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
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.
Svojstva
- Operativni sistemi
- macos-15
- Oznake
- macossystem-settings
- Referenca
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.13.3 Ensure Automatic Login Is Disabled
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target macos