How to Remove “Other” User Account from Mac Login Screen

I don’t have any other user rather than admin, but when I open my mac in this morning it shows ‘other user’ on the login screen. I was suspect on this first. Then one of my colleagues told me that I can solve this problem by changing the setting. In this article, I have shared my experience on how to remove ‘other user’ from mac login screen, along with my friends’ suggestion. I hope this may help you.

other login

Through terminal command

You can also use the terminal commands to solve this problem.

sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE

Then to go back just use,

sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool TRUE

Turn off the guest user

guest user

Launch Apple menu -> System Preferences -> Users & Groups -> then turn the Guest user off by dismissing the ‘Allow guest to log into this computer’.

Now you can avoid the guest user or other users to operate your system.

Altering the root user

  • Go to Apple menu -> System Preferences
  • Select Users & groups
  • Select Lock to make changes at the bottom left.
  • Type admin name and password.
  • Select Edit or Join -> select Open Directory Utility.
  • In the Directory Utility Window again press Lock, to type the admin name and password.
  • In the Directory Utility menu bar -> tap Edit -> then Turn on or off the Root user, according to your need.

To disable root user

  • You are the only user also forget the root password in the Directory Utility means, follow the instructions given by your system to reset it.
  • Then  just press three times on the screen below the line, then there you can see the command like
  • sudo defaults delete /L*/P*/com.apple.loginwindow.* SHOWOTHERUSERS_MANAGED
  • Then type inbuilt Terminal app in the spotlight search.
  • Then paste the copied command in that Terminal Window, this is enough if you are using Safari web browser.
  • If you are using another browser means enter the login password, then click Return. If you don’t have any password you have to set one.

Note: if you are not signed in as an admin the screen will show “is not in the sudoers file”, so you have to start as admin again.

After a new line ending with the $ sign will appear below the entered command, you can come out from the terminal app.

Resetting your mac

  • Tap -> Command + space,
  • In that enter terminal;
  • Again type ->  dsenableroot -d -> enter your password.
  • Even by resetting like this, you can get rid of this issue.

Change the Login window

  • Go to Apple menu -> System Preferences
  • Select Users & groups
  • Select Lock to make changes.
  • Then change the login admin name and password through the Users & Groups window.

Via iCloud

If none of the other solutions doesn’t work out means, just log in and the log off from your iCloud account. Or just dismiss the file vault.

Or

Go to iCloud preferences -> dismiss “Find My Mac”.

If you have any other solutions, let us know through your comments.

Leave a Reply

Your email address will not be published. Required fields are marked *