No user in

Discussion in 'macOS High Sierra (10.13)' started by panton439, Feb 28, 2018.

  1. panton439 macrumors newbie

    panton439

    Joined:
    Feb 28, 2018
    #1
    Ok, so I have this issue now. Whenever the app installer wants to grant permissions to my user this window pops up.

    I tried to changing password of the user via Utility but no success. I can login (obviously) to iOS but that user name and pass not working whenever I install apps.

    Please help!!!!!
     

    Attached Files:

  2. jbarley macrumors 68040

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #2
    I believe it's looking for an "Administrator" password, and from what I'm seeing in the picture you posted, there doesn't seem to be one.:eek:
     
  3. chrfr macrumors 604

    Joined:
    Jul 11, 2009
    #3
    There is definitely an administrator account. Administrator accounts are hidden from view in the Users & Groups preference pane for standard users.
     
  4. DeltaMac macrumors G3

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #4
    I would disagree about admin accounts hidden from view. I suspect the OP account used to be an admin account, but was reverted to a standard account (so there is no admin user account) I had this happen to ME on a 10.13.3 update. My account, the only account on my Mac, was changed by the update to a standard user. Only one user, as a standard account. You can't do much of anything if there is no admin account, and the root user is not yet activated - which is what happened to me.

    So, the problem is - you don't have an admin user.
    This occasionally happens with a system update, where an admin user is changed by a glitch to a standard account.
    Now you have a login password, but you can't change or install anything that requires admin credentials (because there is no admin account.)

    One way to fix this is to enable the root user, then log in to the root account, where you can change your usual user from a standard user to an admin user.
    You can enable the root user while booted to single-user mode. There's other methods, but this is one that I use, and I just checked to be sure it works from High Sierra.
    Restart, holding cmd-s.
    When you see the text scroll down, type /sbin/mount -uw /
    Press enter, then type launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
    Press enter. You may get a prompt, or maybe a couple of lines of text, but type passwd root
    Press enter. It should ask for "new password", so type a nice password for the root account, and press enter.
    You will NOT see your password as you type it in (it's a security feature in the terminal so no one can find out your password by watching the screen as you type it in. :D )
    Press enter, and enter your new password again
    Finally, press enter
    You may see a few lines that you can ignore.
    Type exit, then press enter. You should log in to your usual account.
    NOW, log out

    you will see a new user, named Other. Choose Other, then enter your new password, and log in.
    And, you are the (powerful) root, or superuser. You can do lots of "stuff" with your system, and no password is needed while you are logged in as root.
    So, open System Preferences, then Users & Groups. Click on your usual user (whatever it might be), and click on the box "Allow user to administer this computer", and then quit System Preferences.
    Log out, then choose your usual user account, enter your usual password, and log in.
    And, you are back in business with a working admin account (and you should be able to install, etc, using that password now, with the password that you normally use. (The new password is ONLY to log in to your root user, which you shouldn't need normally)
    The normal recommendation is to now disable the root user. You can do that easily now, through the menus in your Directory Utility. (that would not work before, because you didn't have a working admin password)

    You should be good now...
     
  5. Ionlysigneduptoanswerthis macrumors newbie

    Joined:
    Oct 17, 2018
    #5
    I had this issue just today.

    I called up Apple who told me to shut down the computer. When turning on the computer, hold down CMD + R whilst the computer starts up. It will take you to a page with disk utility, etc and you go to the drop down menu of Utilities at the top right hand of the screen and click on Terminal
    It will come up with a little text edit type box and you type in:

    rm "/Volumes/Macintosh HD/var/db/.AppleSetUpDone"

    and then press enter. Then you restart the computer and it will be the set up menu when you first get the computer. You set up a new account and when in the new account, you open up System Preferences and make the user you want as admin to admin by clicking the "Allow user to administer this computer" and it's done.
     

Share This Page

4 February 28, 2018