Subscribe

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!

How to remove the Guest user from the login on MacOS

If you computer is peresonal and no one else use it, probably you don't need the guest user like me. Personally I dodn't like to see the guest user on my login screen.

The easy way to do it is using the System preference, here are the steps you need to follow to rid the guest user from your system.

Steps

Note: These steps must be done with your user administrator and not with the Guest user.

  1. Open System Preferences.
  2. Click on Users & Groups.
  3. Click on the lock icon to make changes.
  4. Enter your password.
  5. Click on Allow guests to log in to this computer.

Rid Guest account

In the next login, you won't see the guest user anymore.

Extras

If you want to use the console to make sure the Guest is disabled, you can use this command:

defaults read /Library/Preferences/com.apple.loginwindow.plist

The output will be similar to this:

{
    GuestEnabled = 0;
    OptimizerLastRunForBuild = 35951457;
    OptimizerLastRunForSystem = 164624836;
    lastLoginPanic = "536070145.665672";
    lastUser = loggedIn;
    lastUserName = myuser;
}

An if the previous steps to remove the guest user from the login screen didn't work, you can use this command:

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

Comments: