You are unable to log in to the user account [name] at this time

Discussion in 'OS X' started by Seahorse, Dec 31, 2006.

  1. Seahorse
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 14, 2006
    Location:
    London, UK
    #1
    My MacBook Pro (OS X 10.4.8) has suddenly locked me out!

    When I try to log in (only one user, with admin privileges, FileVault switched on) it rejects the login saying "You are unable to log in to the user account "Adam" at this time". (Read on: it gets worse...)

    I'm certain the password is correct (and correctly typed, no caps lock, keyboard working properly etc.).

    When it lets me use the master password to change the user password, and I try to do so, I get the same error message and cannot log in.

    If I boot from the OS X installation disk I can repair the hard drive (no errors found) and repair file permissions (a few repaired) and I can (apparently) change the user password. But when I reboot from the hard drive and try to log in, with either the new or the old password, I cannot.

    I see that the error message ("You were unable to log in...") was introduced by Mac OS X 10.4.6 Update (delta), and it appears when trying to log in as a FileVault-protected user if the protected Home image file has been damaged or moved.

    This makes sense. If I type in the wrong password I get the shakey thing. The right password gives me the error message.

    Any suggestions? I really don't want to reinstall OS X as it'll be a major task and I've done a significant bit of work since my last backup. Is there some way I can create another user as a workaround, or restore whatever's damaged, or something?

    A solution to this would save me a day or two's work so I really hope you can help!
     
  2. clevin
    Expand Collapse
    macrumors G3

    clevin

    Joined:
    Aug 6, 2006
    #2
    http://docs.info.apple.com/article.html?artnum=303411
    this exactly fit your description.
    im sure there is a solution other than re-install OSX, just calm down, and be patience... and search, of course. :D

    can u turn off filevault through boot-disk?

    it looks like your FileVault image is damaged
     
  3. Seahorse
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Oct 14, 2006
    Location:
    London, UK
    #3
    Thanks for the URL - that's the article that told me what the 'unable to log in' message actually meant.

    No, cannot switch off FileVault when booted from the installation disk.

    What I have just managed to do is switch on the root user account and log into that. But that account doesn't have FileVault switched on and I can't work out how to switch it off for my old user account, nor how to access my old user account files while logged on as root.

    Feels like I'm half way there. Any suggestions would be much appreciated!
     
  4. clevin
    Expand Collapse
    macrumors G3

    clevin

    Joined:
    Aug 6, 2006
    #4
    back up your file and create a new acc? should be last resort.
     
  5. stannum
    Expand Collapse
    macrumors newbie

    Joined:
    Jan 7, 2007
    #5
    Have you had any luck with this problem?

    I've made it as far as attempting to mount the image but getting an I/O error.
     
  6. Seahorse
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Oct 14, 2006
    Location:
    London, UK
    #6
    Unfortunately not. I got as far as I could, with help from this forum and also the Apple discussion groups on their website, but still no joy. So reinstalled everything. Fortunately I had backed up not all that long ago. And there was that pleasant, fresh feeling of a clean OS install!

    Lesson 1 of the day: never, ever use VileFault

    Lesson 2 of the day: back up often

    Thanks to all those who gave their advice.
     
  7. emchan
    Expand Collapse
    macrumors newbie

    Joined:
    Sep 30, 2007
    #7
    I just ran into the same problem, but fortunately, it was curable.

    First, I converted my account to Filevault, then I tried to login. I met with the same error about logging in, so I rebooted. That didn't fix the issue. Fortunately, I had a backup admin account, so I probed around the system. Here are the steps I took to solve the issue.

    1. Reboot
    2. Login as an alternate user (Apple-S at bootup will get you a root shell if you don't have an alt)
    3. Run disk utility to repair disk permissions
    4. Check for /Users/.<username>. This is a cookie that is generated when you are logged in as a filevault user. I found that Filevault failed to delete this cookie when it was done, so my account was locked out. I looked in this cookie folder to make sure it was empty, then I promptly moved it to /tmp. That fixed my issue.

    If that doesn't fix it, try repairing disk permissions on the sparseimage as suggested earlier.

    It would be nice for future versions of OSX/Filevault to check for this cookie upon login/reboot and clean it up if necessary.
     
  8. S-22
    Expand Collapse
    macrumors newbie

    Joined:
    Dec 2, 2007
    #8
    Hello, I have delete the sparseimage file in /Users/.<username>. and reboot, it still said 'You are unable to log in to the user account "username" at this time'.

    Are there anyway to resolve this problem?

    Thanks.
     
  9. rx7crazy
    Expand Collapse
    macrumors newbie

    Joined:
    Jan 7, 2008
    #9
    Strangely I was able to login to my account, it was giving me the same error on at the login screen, using a shell as root, but that proved useless as I still was not able to access any of the accounts files. So i clicked on machintosh hd on the desktop, and then went into users and clicked on the my account. When clicked on the filevault image I put my password in and I was able to get complete access to the files again. Hope this helps you out.
     
  10. Lanzelot
    Expand Collapse
    macrumors newbie

    Joined:
    Jan 15, 2008
    #10
    I deleted some files

    How do I do this:

    Apple-S at bootup will get you a root shell if you don't have an alt
    I'm sorry i'm completely new with mac, I only see a black screen but dont know what to type....:confused:


    Originally my problem was that Entourage opened two windows one called: "Main Identity" and another one called: "Main Identity 2". So I deleted a bucnh of things from the Users folder (they still are in the trash can) and when I re-stared could not log on...

    So If I can only get into the computer and move everything back from the trash to the the original location should fix it, but as I said, I don't know...

    Please help I'm deperated!:eek:

    Thank you very much!














     
  11. chenr2
    Expand Collapse
    macrumors newbie

    Joined:
    Jul 24, 2008
    #11
    Copying the profile

    I disabled FileVault and let it decrypt. After it completed, I tried to login but received the error: "you are unable to log in to the user account 'username' at this time". I know the password is correct, because when I purposely enter the wrong password it will shake. Unfortunately, I forgot the Master Password. Here are things that I tried that did not work:

    -AppleJack
    -Disk Warrior
    -Repair permissions
    -Repair disk
    -Unable to "change password" from the Administrator account because it was grayed out
    -Created an image in Target disk mode, and was able to view the files but in Read-Only

    I tried copying the profile and was able to log into the new profile. Please see oahu_michael's post on http://www.mac-forums.com/forums/showthread.php?t=79421 which begins with "Ok success I believe". Below are steps that I took:

    How to copy a user's profile:
    -Enable Root
    -Log in as Root (not Administrator)
    -Enable hidden files. Within Terminal, type:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    -Then type:
    killall Finder
    -Within the /Users folder create a new folder with the new username
    -Copy all items from old profile to the new folder
    -On the new profile folder, open "Get Info"
    -At the bottom, expand the Details: triangle
    -Click on Apply to enclosed items... and click OK
    -In System Preferences > Accounts, create a new user with the same name as the new folder
    -It may say "A folder in the Users folder already has the name "username"... Click OK
    -Click Show All and restart
    -Log in as the new user

    Good luck.
     
  12. robotic2
    Expand Collapse
    macrumors newbie

    Joined:
    Apr 18, 2009
    #12
    Thanks chenr2 !!

    Thanks to chenr2 for sharing the details of your solution. I had the same problem and followed your steps. Perfect.
     
  13. Jethryn Freyman
    Expand Collapse
    macrumors 68020

    Jethryn Freyman

    Joined:
    Aug 9, 2007
    Location:
    Australia
    #13
    Filevault possibly screwed up because you were running an outdated version of the OS (10.4.8.)

    My Filevault account on 10.5 hasn't caused any trouble, even through multiple kernel panics.
     
  14. DarrenSanzkrit
    Expand Collapse
    macrumors newbie

    Joined:
    Jun 30, 2010
    #14
    i have been having this problem for 2 days. Finally after a lot of reseach i have managed to create a new user account but i'm am still logged out of my old one. When i try to Repair Disk Permissions it says "Error: No Vaid Packages"
    Any ideas how on what is wrong? Thanks so much
     
  15. belvdr
    Expand Collapse
    macrumors 601

    Joined:
    Aug 15, 2005
    #15
    Are parental controls enabled on that account with time restrictions?
     
  16. iHackstuf
    Expand Collapse
    macrumors newbie

    Joined:
    Apr 14, 2011
    #16
    I have a fix- NEW ADMIN!


    How to make a new admin account from single user mode (Shut down, start up, -s when you see the screen turn on, keep holding until text appears.)

    Type this:
    Code:
    /sbin/mount -uw /
    and hit return

    type this:
    Code:
    rm /var/db/.applesetupdone
    and hit return

    Then type this:
    Code:
    reboot
    hit return, and your Mac thinks it hasn't been set up yet, play the video (Yay) and you can create your new account:)


    Note:
    It will ask you about importing data; DON'T CLICK YES! Your stuff is still there, safe and sound!
     
  17. MrPook20
    Expand Collapse
    macrumors newbie

    Joined:
    Sep 28, 2011
    #17

    Thank you iHackstuf for your post. I am helping my buddy out with this same issue. We followed what you said and it worked but we now want to get the documents that are on the old user account. we are not able to view them from the new account. The old one does have Firevault activated. thank you for your help ahead of time.
     
  18. Ian creating problems
    Expand Collapse
    macrumors newbie

    Joined:
    Dec 31, 2015
    #18
    I had moved my home directory to an external hard drive. A few years later, I changed to name of the hard drive using 'get info.' This is when things got screwed up and I started getting the frustrating message that I cannot log in to my account (Admin). However, when I log in as a Guest, I can make changes using my admin ID. So the computer recognizes my admin privileges under the Guest account!

    Solution: Revert the name of the hard drive back to the original name and everything worked as before. I guess I could have, instead, updated the file path but I was too frustrated to try anything new and adventurous.
     

Share This Page