sharkMN

Q: Admin not recognized - can't open users & groups

Recently, my MBP will not recognize my admin password (nor my IT folks) and will not open users & groups (other preference apps too).  I can login at startup without issue.  I tried in safemode, same issue.  Console throws the following error when trying to open users & groups:

 

5/31/16 1:03:38.040 PM com.apple.preferences.users.remoteservice[699]: Failed to connect (_controller) outlet from (NSView) to (ODCServersViewController): missing setter or instance variable

5/31/16 1:03:38.078 PM com.apple.preferences.users.remoteservice[699]: Failed to connect (__serversSheetServersView) outlet from (ODCSummaryViewController) to (ODCServersView): missing setter or instance variable

 

My IT wants to re-image.  I prefer to ask here first.  Anyone know a fix??  Thanks!

 

OS X 10.10.5 15inch Late 2011

2.4 i7

4 GB 1333 MHz DDR3

MacBook Pro

Posted on May 31, 2016 11:19 AM

Close

Q: Admin not recognized - can't open users & groups

  • All replies
  • Helpful answers

  • by sharkMN,

    sharkMN sharkMN May 31, 2016 12:07 PM in response to sharkMN
    Level 1 (8 points)
    Notebooks
    May 31, 2016 12:07 PM in response to sharkMN

    I'll add that users & groups finally opened and it appears that all user accounts have been set as standard.  No admin account is present.  Now what?

  • by Linc Davis,

    Linc Davis Linc Davis May 31, 2016 12:23 PM in response to sharkMN
    Level 10 (207,936 points)
    Applications
    May 31, 2016 12:23 PM in response to sharkMN

    Please take these steps to restore administrator privileges to your account. This somewhat tedious procedure is only necessary if you've confirmed that no working administrator account exists on the system.

    If you don't already have a current backup of all your data, you must back up before taking any of the steps below. Ask if you need guidance. You won't need the backup unless something goes wrong—which is always possible.

    Step 1

    Start up in Recovery mode. The OS X Utilities screen will appear.

    Step 2

    Take this step only if you use FileVault 2. Launch Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Select Unlock from the File menu and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

    Step 3

    Select

              Utilities Terminal

    from the menu bar. In the window that opens, type this:

    resetp

    Press the tab key. The partial command you typed will automatically be completed to this:

    resetpassword

    Press return. A Reset Password window opens. Select your startup volume if not already selected. Pull down the menu labeled

              Select the user account

    and select

              System Administrator (root)

    Follow the prompts to set a password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9. I suggest you write down the password. If you don't write it down and forget it, you'll have to start over from Step 1.

    Select

               Restart...

    from the menu bar.

    Step 4

    This step, like Step 2, applies only if you use FileVault. Log in as usual, then select

              Log Out...

    from the menu bar, or press the key combination shift-command-Q. Don't restart. You'll be returned to the login screen.

    Step 5

    At the login screen, click Other... Enter "root" (without the quotes) in the Name field, and enter the password you set in Step 3 in the Password field. You should now be logged in as root. This is a potentially dangerous condition. Do nothing while logged in as root except as indicated below. You'll be fine as long as you don't deviate from the plan.

    Open the Users & Groups preference pane. Select your usual administrator account in the list of users and check the box marked

              Allow user to administer this computer

    You'll be prompted to restart. Do that and log in as yourself—not as root. Your administrator status should now be restored.

    Step 6 (optional, but recommended)

    Follow the instructions in this support article under the heading "How to disable the root user." You must authenticate in Directory Utility as "root" with the root password you set in Step 3. Authenticating as another administrator won't work.

    Credit for this idea to ASC member wessongroup.