MikeUn

Q: Sysmem/LibraryLaunchDaemons/com.apple.DirectoryServicesLocal.plist

Mac OS X El Capitan didn't load.

tried to create new root password and restore user password.  Didn't work - subj. No such file or directory.

How can I repair my macbook pro?

 

Michael

MacBook Pro, OS X El Capitan (10.11)

Posted on Jul 9, 2016 11:34 AM

Close

Q: Sysmem/LibraryLaunchDaemons/com.apple.DirectoryServicesLocal.plist

  • All replies
  • Helpful answers

  • by macjack,

    macjack macjack Jul 9, 2016 11:46 AM in response to MikeUn
    Level 9 (55,682 points)
    Mac OS X
    Jul 9, 2016 11:46 AM in response to MikeUn

    Your synatx is incorrect try:

    /System/Library/LaunchDaemons

    but I don't find that plist

  • by MikeUn,

    MikeUn MikeUn Jul 9, 2016 11:54 AM in response to macjack
    Level 1 (4 points)
    Mac OS X
    Jul 9, 2016 11:54 AM in response to macjack

    Sorry. I wrote correctly in the command line.

    Mistake here

  • by MikeUn,

    MikeUn MikeUn Jul 9, 2016 12:05 PM in response to MikeUn
    Level 1 (4 points)
    Mac OS X
    Jul 9, 2016 12:05 PM in response to MikeUn

    2016-07-09 22.02.52.jpg

     

    and same errors all times I tried to make changes

  • by macjack,

    macjack macjack Jul 9, 2016 1:03 PM in response to MikeUn
    Level 9 (55,682 points)
    Mac OS X
    Jul 9, 2016 1:03 PM in response to MikeUn

    Leave off the plist name. Just go to the LaunchDaemons folder do an ls find it there. That was why I wrote /System/Library/LaunchDaemons

  • by Linc Davis,

    Linc Davis Linc Davis Jul 9, 2016 1:41 PM in response to MikeUn
    Level 10 (207,936 points)
    Applications
    Jul 9, 2016 1:41 PM in response to MikeUn

    You were trying to follow obsolete instructions to reset a password in single-user mode. Those instructions are never going to work. If you've forgotten the login password or the password is not accepted, see below.

    First, please make sure caps lock is not on. Note that on some portable models, the LED on the caps lock key may not work when you first start up if FileVault is active. When caps lock is on, there will be an up-arrow icon in the text box where you enter the password. Rely on that, not on the LED.

    Another reason why the password might not be recognized is that the keyboard layout (input source) in the login screen is not what you expect. You can select one of the available layouts by choosing from the flag menu in the upper right corner, if it's showing, or else cycle through them by pressing the key combination command-space or command-option-space.

    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password. In OS X 10.10 and later, this option also works with FileVault, but only if you enabled it when you activated FileVault. It's not retroactive. Otherwise, see below.

    Note: If you've activated FileVault, this procedure doesn't apply. Follow instead the instructions on the above-linked page, under the heading "Reset using the Reset Password assistant."

    Start up in Recovery mode. When the OS X Utilities window appears, select

              Utilities Terminal

    from the menu bar at the top of the screen—not from any of the items in the OS X Utilities window.

    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. Close the Terminal window to get it out of the way.

    Select the startup volume ("Macintosh HD," unless you gave it a different name) if not already selected. You won't be able to do this if FileVault is active.

    Select your username from the menu labeled Select the user account if not already selected.

    Follow the prompts to reset the 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.

    You should now be able to log in with the new password, but the Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as the login password), there's no way to recover it.

  • by MikeUn,

    MikeUn MikeUn Jul 9, 2016 6:38 PM in response to Linc Davis
    Level 1 (4 points)
    Mac OS X
    Jul 9, 2016 6:38 PM in response to Linc Davis

    I didn't forget my password.

    just user ('user') disappeared. all folders and setting for it are OK.

    I have started to renew this user by enable root.

    this is second time as such situation happened (first time all ok)

    I did resetpassword as you described. there was one user in the system disk - root.

    after this tomethink goes wrong and OS suspended. so I tried many times different methods.

    OS suspended while booting.

     

    Mike

  • by Linc Davis,

    Linc Davis Linc Davis Jul 9, 2016 8:37 PM in response to MikeUn
    Level 10 (207,936 points)
    Applications
    Jul 9, 2016 8:37 PM in response to MikeUn

    Please take these steps to recreate the deleted account. This somewhat tedious procedure is only necessary if you've confirmed that no 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. Create a new user with the same name and password as the old one, and check the box marked

              Allow user to administer this computer

    Restart and log in as yourself—not as root.

    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.

  • by MikeUn,

    MikeUn MikeUn Jul 9, 2016 8:40 PM in response to MikeUn
    Level 1 (4 points)
    Mac OS X
    Jul 9, 2016 8:40 PM in response to MikeUn

    something like this happened.

    http://jamesisin.com/a_high-tech_blech/index.php/2012/05/the-mac-that-broke-the- administrator-account-and-how-i-fixed-it…

    what did they mean -

    'You could use rsync to synchronize the files from a known-good Mac.'

    ?