macOS - hide user
macOS - hide a user at login screen
list all users
dscl . list /Users
hide login “test”
sudo dscl . create /Users/test IsHidden 1 sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE
reverse the hidden user
sudo dscl . create /Users/test IsHidden 0 sudo defaults delete /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED