Categories: Command-Line

Chris Manning

Share
Use the following to delete a user in terminal: replace “username” with the account name.
Copy to Clipboard
Hide a user account in the macOS login window: replace “hiddenuser” with the account name.
Copy to Clipboard
If you want to show the hidden user, set the user’s IsHidden attribute to 0: replace “hiddenuser” with the account name.
Copy to Clipboard
This command moves the home directory of “hiddenuser” to /var, a hidden directory. Replace “hiddenuser” with account name.
Copy to Clipboard
This command updates the user record of “hiddenuser” with the new home directory path in /var.
Copy to Clipboard
This command removes the Public Folder share point for the user with the long name “Hidden User”.
Copy to Clipboard

Leave A Comment

Related Posts