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

  • Category: General

    A client had been maintaining their own WordPress website and decided to update the Elementor Pro plugin. Now, the site had not been touched [...]

    Read More
  • Category: Apple, Google, iOS

    If you have logged into Google maps on your iPhone and you're wondering how you can log out of your account. Follow the steps [...]

    Read More
  • Just upgraded your version of Parallels Desktop for Mac and discovered the caps lock stays on. Are you now unable to log into your [...]

    Read More