Hi,
How can I create new admin user using command line and user home will be delete automatically when remove from System Preferences?
I successfully create new admin user using the following command but when I delete this user from system preferences the home folder will not delete automatically compare to users create manually from system preferences.
Any advice?
Thank you
sudo sysadminctl -addUser Admin -fullName "Admin" -password admin123 -home /Users/admin -shell /bin/zsh -admin