I'm having a problem logging into the root account of my macbook pro running Lion 10.7.1. I enabled the root account and everything was fine. I logged into it a few times and made some changes unrelated to passwords etc. Once I was done I disabled the root account. I then had to use it again and enabled it. Now I can't login. I tried resetting the password using the Directory Utility and terminal but neither work. Directory Utility appears to work but doesn't and no error message is given. Terminal gives me the following error using the sudo passwd root command:
Changing password for root.
Retype new password:
passwd: Could not verify credentials because directory server does not support the requested authentication method.
Any help would be greatly appreciated. I need to get this password reset and Apple support wasn't any help. Thanks.
I figured out a solution to this on my own. For those of you that might need it do the following:
1. Go to System Preferences> Users and Groups
2. Click on "Login Options"
3. Click the lock on the bottom left and login using your administrator login and password (should be who you are currently logged on as....this is not the root or System Administrator credentials)
4. Click the "Join..." button.
5. Click the "Open Directory Utility" button.
6. Click the "Directory Editor" option in the Directory Utility window.
7. Scroll down the left side until you see "System Administrator" and highlight it.
8. On the right, highlight "AuthenticationAuthority" and hit the - (minus) button at the bottom to delete it.
9. Click the "Save" button at the bottom.
10. At the top of the screen on the Directory Utility menu click the "Edit" option and click "Enable Root User". It will prompt you to enter a new root password again.
Once you enable the root user again it will recreate the AuthenticationAuthority entry that you deleted. Everything should be fixed now and you should be able to login as the root user again.