Skip navigation

Unable to disable root user

646 Views 14 Replies Latest reply: Mar 28, 2014 8:12 AM by msz1 RSS
vschafer Level 1 Level 1 (0 points)
Currently Being Moderated
Oct 10, 2013 1:14 PM

I recently enabled root user following instructions from my web hosting server, and fixed the problem.

Now that I want to disable the option, following instructions from http://support.apple.com/kb/HT1528,

the option from Edit Menu is greyed out.

How do I fix it?

MacBook Pro, Mac OS X (10.7.1)
  • Linc Davis Level 10 Level 10 (107,745 points)
    Currently Being Moderated
    Oct 10, 2013 4:01 PM (in response to vschafer)

    Did you unlock the preference pane?

  • Grant Bennet-Alder Level 8 Level 8 (48,110 points)
    Currently Being Moderated
    Oct 10, 2013 8:11 PM (in response to vschafer)

    If you were completely successful at step 7 and step 8, that choice should now be showing in step 9.

     

    If you mistyped the password, for example, or used a non-Admin accountname, the lock would still be locked, and "Disable Root user" would not be shown in the Edit Menu.

    Mac Pro (Early 2009), Mac OS X (10.6.8), & Server, PPC, & AppleTalk Printers
  • Grant Bennet-Alder Level 8 Level 8 (48,110 points)
    Currently Being Moderated
    Oct 10, 2013 8:26 PM (in response to vschafer)

    Once the lock is unlocked, at step 9, that choice changes back and forth between Enable root user and Disable root user, depending on the current state.

     

    If it is now showing Enable Root user, you have succeeded disabling Root user, and it is offereng you the option of enabling again.

    Mac Pro (Early 2009), Mac OS X (10.6.8), & Server, PPC, & AppleTalk Printers
  • Linc Davis Level 10 Level 10 (107,745 points)
    Currently Being Moderated
    Oct 10, 2013 8:48 PM (in response to vschafer)

    You have to authenticate as "root," using the password you set. Authenticating as any other user won't work.

  • Linc Davis Level 10 Level 10 (107,745 points)
    Currently Being Moderated
    Oct 11, 2013 9:51 AM (in response to vschafer)

    If you think you may have set the same password for root that you use for your admin account, try it. Otherwise things get more complicated.

  • Linc Davis Level 10 Level 10 (107,745 points)
    Currently Being Moderated
    Oct 11, 2013 11:14 AM (in response to vschafer)

    Please take these steps to reset the root password.

    Step 1

    Boot into 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 boot volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar 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:

    res

    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 boot 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.

    Select

    Restart

    from the menu bar.

    Step 4

    Follow the instructions in this support article under the heading "Disable the root user."

  • msz1 Calculating status...
    Currently Being Moderated
    Mar 28, 2014 7:23 AM (in response to vschafer)

    I have the same issue that my "Disable Root User" and "Change Root Password" are greyed out.  Even if I log in to the Directory Utility as root, I do not see the ability to "Disable Root User" (or change password).  The lock icon shows the credentials are ok (unlocked icon), but the edit options are greyed out.  I don't want to disable root right now anyway, but I was just checking the option and noticed this.

        I'll try rebooting my MacPro(osx 10.8.5).   Maybe a process is running as root or some file open.  Very strange.  I was able to enable root access with my ID.  But I can't disable it with my ID, or the root id....

     

    Any thoughts?

  • msz1 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 28, 2014 8:12 AM (in response to msz1)

    I got it.  I had to click on the "Services Tab" inside of the directory utility.  I was on the "Directory Editor" tab by default.  Once I clicked on the services tab, I could change root info with either user.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.