Hide user at logon screen of Mac OS

Mac OS

To hide the user with short user name “Jim” from the login window:

– first log in to an admin account,

– launch Terminal,

– and paste this:
sudo defaults write /Library/Preferences/com.apple.loginwindow \HiddenUsersList -array-add Jim

To unhide the account, enter this:

sudo defaults delete /Library/Preferences/com.apple.loginwindow \HiddenUsersList

 

Advertisements