Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Operating System (http://www.mac-forums.com/forums/os-x-operating-system/)
-   -   changed passwords, still can't login (http://www.mac-forums.com/forums/os-x-operating-system/145182-changed-passwords-still-cant-login.html)

youdin 03-14-2009 04:27 PM

changed passwords, still can't login
 
Quick version:
Even though I can change passwords on an account I cannot login to the account with the new passwords (or the old one). I have tried changing the passwd with both in System Prefs and using "sudo passwd" in the Terminal.

Longer Story:
I recently changed passwords on my main account (call it "acct1") using the Terminal. However I then couldn't log back in, but luckily could still surf the web with acct2 (not an admin account). I found out how to create a new admin account (call it "acct3") by removing the /var/db/.AppleSetupDone file in single user mode. That worked, but (as I said in the quick version) when I change the password for acct1 in acct3, I still can't log in to acct1.

This is very annoying. Is there any solution or do I just need to copy acct1 files to acct3 and start over? I can't go into an Apple store for at least a week since I'm travelling.

Thanks for any help or suggestions.
This is on a MBPro w/ 10.5.6

-Andrew

chscag 03-14-2009 07:22 PM

Why do folks insist on using the Terminal to change passwords? That's what System Preferences - Accounts is for.

Do you have your original install media along with you? Otherwise, you may have to wait until you get back home. Do not copy one account to the other while the password is in Limbo. That will lead to further lockouts and probably a complete re-install.

In the meantime you might want to try this work around - hack: Link

Regards.

youdin 03-14-2009 08:09 PM

broken password
 
Yes, it was stupid to use the Terminal to change passwords. I already did what is mentioned in the hack-link. This is what is so weird. I have a new admin account, but still can't fix the broken password on the original account. That's why I doubt that the startup disk will help, unless it changes passwords in a different way. I think I have a real messy problem that may require a serious expert since I've already tried friends I consider pretty knowledgeable on both Macs and Unix.

thanks though for the advice on not trying to copy files over. I am tempted (so I can get access to my Calendar!) but will hold off.

Quote:

Originally Posted by chscag (Post 818973)
Why do folks insist on using the Terminal to change passwords? That's what System Preferences - Accounts is for.

Do you have your original install media along with you? Otherwise, you may have to wait until you get back home. Do not copy one account to the other while the password is in Limbo. That will lead to further lockouts and probably a complete re-install.

In the meantime you might want to try this work around - hack: Link

Regards.


chscag 03-14-2009 11:22 PM

OK, understand. Try this:

Log on using the ROOT account: Link

While logged on as ROOT you'll have access to everything. (all accounts) Copy (don't use move) whatever you need from the account(s) which you can no longer access over to the new Admin account you created.

Log off and log on to the new Admin account. Verify that you can access all your data, programs, files, etc using this account. If everything is OK, log off and log back on as ROOT. Remove the account(s) you no longer need. Log off and log back on to the Admin account.

Hopefully everything will be back to normal. (Keep fingers crossed.) :)

Regards.

youdin 03-15-2009 07:42 AM

I do have root access. Moving all the files is a last resort. Since it's just a broken password, I still have hope that there's a way to fix it and get back to normal.

Also I'd probably want to move the files twice to get the same short username. Though I guess it is possible to change the short username: 1 2

Or ... once I check that my Time Machine backups are OK and complete, I could delete the original account, create a new account with the original username, and then restore it from the backup. This seems safer than moving files around to accounts with different usernames, right? I.e. fewer lost settings, etc.

Thanks,
Andrew

Quote:

Originally Posted by chscag (Post 819030)
OK, understand. Try this:

Log on using the ROOT account: Link

While logged on as ROOT you'll have access to everything. (all accounts) Copy (don't use move) whatever you need from the account(s) which you can no longer access over to the new Admin account you created.

Log off and log on to the new Admin account. Verify that you can access all your data, programs, files, etc using this account. If everything is OK, log off and log back on as ROOT. Remove the account(s) you no longer need. Log off and log back on to the Admin account.

Hopefully everything will be back to normal. (Keep fingers crossed.) :)

Regards.



All times are GMT -4. The time now is 04:51 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.