I want to create some accounts on a computer that don't have a home directory or an icon on the login page
sudo dscl . -create /Users/hiddenuser sudo dscl . -create /Users/hiddenuser UserShell /bin/bash
The issue is when I type:
It just says
login incorrect, and then just says
login: that I cannot Ctrl-C out of. It does not even let me type the password, even if I set it. How can I create a hidden user not shown in the login page, but that I can log in to using the terminal? However, if I create a user via System Preferences, it can be logged in by
login, but it is not hidden. How can I create a hidden user through the terminal that is not buggy?