I’m using Yubikey 4C at home as 2 factor-based smartcard login for macOS. Since I’m also using File Vault 2 as Full Disk Encryption, I need to disable automatic login for File Vault 2 - otherwise the Login won’t work with the Yubikey.
I always need to look this up when setting up my system again, so here it is, for future reference:
$ defaults write /Library/Preferences/com.apple.loginwindow DisableFDEAutoLogin -bool YES