Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

issue with resetpassword command terminal

Hi,

I have a 2017 Macbook Pro 13 touch bar and the SSD is ciphered with FileVault. Since yesterday, when I turn on the computer a white round sign with a bar appears, and I cannot do anything.


I tried to boot (cmd +R) on recovery partition and I can't decipher the hard drive with the disk utility : my password is not recognized (and I'm sure I entered it correctly).


I also tried to reset the password (which can be done by 'reset password' command) but I got the following logs:


2017-11-18 09:01:32.823 KeyRecoveryAssistant[648:53004] Connected to daemon. Language set to: French

2017-11-18 09:01:32.824 KeyRecoveryAssistant[648:53004] Connected to daemon. Language set to: French

2017-11-18 09:01:33.013 KeyRecoveryAssistant[648:53015] setSystemToRecover: encrypted volume

2017-11-18 09:01:34.882 KeyRecoveryAssistant[648:53015] setSystemToRecover: found unlock user: iclouduser

2017-11-18 09:01:34.882 KeyRecoveryAssistant[648:53015] setSystemToRecover: found iCloud recovery user

2017-11-18 09:01:34.882 KeyRecoveryAssistant[648:53015] setSystemToRecover: found unlock user: icloudrecoveryuser

2017-11-18 09:01:34.882 KeyRecoveryAssistant[648:53015] setSystemToRecover: found iCloud recovery user

2017-11-18 09:01:34.884 KeyRecoveryAssistant[648:53002] Next pane: from <KRAWelcomeViewController: 0x7ff6035bbbd0>

2017-11-18 09:01:34.884 KeyRecoveryAssistant[648:53002] Next pane: to <KRAChooseFVErrorType: 0x7ff606830fd0>

2017-11-18 09:01:44.333 KeyRecoveryAssistant[648:53002] Next pane: from <KRAChooseFVErrorType: 0x7ff606830fd0>

2017-11-18 09:01:44.333 KeyRecoveryAssistant[648:53002] Next pane: to <KRASignInViewController: 0x7ff606851cf0>

2017-11-18 09:01:44.341 KeyRecoveryAssistant[648:53002] *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1561.10.101/AppKi t.subproj/NSCell.m:1692

2017-11-18 09:01:44.343 KeyRecoveryAssistant[648:53002] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'

*** First throw call stack:

(

0 CoreFoundation 0x00000001079b653b __exceptionPreprocess + 171

1 libobjc.A.dylib 0x0000000105a53942 objc_exception_throw + 48

2 CoreFoundation 0x00000001079bc122 +[NSException raise:format:arguments:] + 98

3 Foundation 0x0000000105443690 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193

4 AppKit 0x000000010605dfd0 -[NSCell _objectValue:forString:errorDescription:] + 327

5 AppKit 0x000000010605dddd -[NSCell setStringValue:] + 43

6 AppKit 0x0000000106102dae -[NSControl setStringValue:] + 135

7 KeyRecoveryAssistant 0x0000000103f25ef1 KeyRecoveryAssistant + 40689

8 KeyRecoveryAssistant 0x0000000103f38856 KeyRecoveryAssistant + 116822

9 KeyRecoveryAssistant 0x0000000103f394a2 KeyRecoveryAssistant + 119970

10 libdispatch.dylib 0x000000010823e6cd _dispatch_call_block_and_release + 12

11 libdispatch.dylib 0x0000000108236e88 _dispatch_client_callout + 8

12 libdispatch.dylib 0x0000000108242471 _dispatch_main_queue_callback_4CF + 1148

13 CoreFoundation 0x000000010796fb99 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

14 CoreFoundation 0x000000010793244a __CFRunLoopRun + 2586

15 CoreFoundation 0x0000000107931797 CFRunLoopRunSpecific + 487

16 HIToolbox 0x0000000110f75866 RunCurrentEventLoopInMode + 286

17 HIToolbox 0x0000000110f754df ReceiveNextEventCommon + 366

18 HIToolbox 0x0000000110f75354 _BlockUntilNextEventMatchingListInModeWithFilter + 64

19 AppKit 0x0000000106032a23 _DPSNextEvent + 2085

20 AppKit 0x00000001067c7e6c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044

21 AppKit 0x0000000106027831 -[NSApplication run] + 764

22 AppKit 0x0000000105ff69d2 NSApplicationMain + 804

23 libdyld.dylib 0x00000001082aa145 start + 1

24 ??? 0x0000000000000007 0x0 + 7

)

libc++abi.dylib: terminating with uncaught exception of type NSException: File name too long


I don't see why this crashed like that. Do you have an idea? Will I be able to recover my data ?


Thanks,

Chris

MacBook Pro (13-inch, 2017, 4 TBT3), macOS High Sierra (10.13.1)

Posted on Nov 18, 2017 1:16 AM

Reply
Question marked as Best reply

Posted on Dec 31, 2017 10:32 PM

Have you figured out an answer?


My Macbook Pro 13-inch High Sierra (latest) password stopped working for an inexplicable reason. I have made a fix where I fixed the root login bug of Mac High Sierra (I believe I set a password) and maybe have made a problem with recovery mode. But when I run recovery mode command-R and open a terminal window and run resetpassword as you did, I have the almost exact same Assertion Failure. I seem to be unable to login to my Mac or unlock "Macintosh HD" to reset the password too. When I choose "I forgot my password" option for password reset, it just reboots to the login window again. I seem to be trapped in an endless cycle of denied password logins. How can this happen? This is very unsatisfactory for a long time apple/windows laptop user who never had this problem before!

1 reply
Question marked as Best reply

Dec 31, 2017 10:32 PM in response to chrishappy

Have you figured out an answer?


My Macbook Pro 13-inch High Sierra (latest) password stopped working for an inexplicable reason. I have made a fix where I fixed the root login bug of Mac High Sierra (I believe I set a password) and maybe have made a problem with recovery mode. But when I run recovery mode command-R and open a terminal window and run resetpassword as you did, I have the almost exact same Assertion Failure. I seem to be unable to login to my Mac or unlock "Macintosh HD" to reset the password too. When I choose "I forgot my password" option for password reset, it just reboots to the login window again. I seem to be trapped in an endless cycle of denied password logins. How can this happen? This is very unsatisfactory for a long time apple/windows laptop user who never had this problem before!

issue with resetpassword command terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.