-
All replies
-
Helpful answers
-
Jul 9, 2016 11:46 AM in response to MikeUnby macjack,Your synatx is incorrect try:
/System/Library/LaunchDaemons
but I don't find that plist
-
Jul 9, 2016 11:54 AM in response to macjackby MikeUn,Sorry. I wrote correctly in the command line.
Mistake here
-
-
Jul 9, 2016 1:03 PM in response to MikeUnby macjack,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
-
Jul 9, 2016 1:41 PM in response to MikeUnby Linc Davis,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:
resetpPress the tab key. The partial command you typed will automatically be completed to this:
resetpasswordPress 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.
-
Jul 9, 2016 6:38 PM in response to Linc Davisby MikeUn,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
-
Jul 9, 2016 8:37 PM in response to MikeUnby Linc Davis,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:
resetpPress the tab key. The partial command you typed will automatically be completed to this:
resetpasswordPress 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.
-
Jul 9, 2016 8:40 PM in response to MikeUnby MikeUn,something like this happened.
what did they mean -
'You could use rsync to synchronize the files from a known-good Mac.'
?
