Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac OS X Forums > Mac OS X
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 31, 2006, 01:42 PM   #1
Seahorse
macrumors newbie
 
Join Date: Oct 2006
Location: London, UK
You are unable to log in to the user account [name] at this time

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!
Seahorse is offline   Reply With Quote
Old Dec 31, 2006, 02:00 PM   #2
clevin
macrumors 601
 
clevin's Avatar
 
Join Date: Aug 2006
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.

can u turn off filevault through boot-disk?

it looks like your FileVault image is damaged

Last edited by jsw : Dec 31, 2006 at 03:13 PM. Reason: post merge
clevin is offline   Reply With Quote
Old Dec 31, 2006, 03:10 PM   #3
Seahorse
Thread Starter
macrumors newbie
 
Join Date: Oct 2006
Location: London, UK
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!
Seahorse is offline   Reply With Quote
Old Dec 31, 2006, 03:12 PM   #4
clevin
macrumors 601
 
clevin's Avatar
 
Join Date: Aug 2006
back up your file and create a new acc? should be last resort.
clevin is offline   Reply With Quote
Old Jan 8, 2007, 12:08 AM   #5
stannum
macrumors newbie
 
Join Date: Jan 2007
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.
stannum is offline   Reply With Quote
Old Jan 8, 2007, 05:51 PM   #6
Seahorse
Thread Starter
macrumors newbie
 
Join Date: Oct 2006
Location: London, UK
Quote:
Originally Posted by stannum View Post
Have you had any luck with this problem?
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.
Seahorse is offline   Reply With Quote
Old Sep 30, 2007, 12:22 PM   #7
emchan
macrumors newbie
 
Join Date: Sep 2007
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.
emchan is offline   Reply With Quote
Old Jan 8, 2008, 01:24 AM   #8
rx7crazy
macrumors newbie
 
Join Date: Jan 2008
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.
rx7crazy is offline   Reply With Quote
Old Jan 15, 2008, 11:17 PM   #9
Lanzelot
macrumors newbie
 
Join Date: Jan 2008
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....


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!

Thank you very much!














Quote:
Originally Posted by rx7crazy View Post
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.
Lanzelot is offline   Reply With Quote
Old Aug 7, 2008, 09:56 AM   #10
chenr2
macrumors newbie
 
Join Date: Jul 2008
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.
chenr2 is offline   Reply With Quote
Old Apr 19, 2009, 12:34 AM   #11
robotic2
macrumors newbie
 
Join Date: Apr 2009
Thanks chenr2 !!

Thanks to chenr2 for sharing the details of your solution. I had the same problem and followed your steps. Perfect.
robotic2 is offline   Reply With Quote
Old Apr 19, 2009, 05:22 AM   #12
Jethryn Freyman
macrumors 65816
 
Join Date: Aug 2007
Location: Australia
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.
Jethryn Freyman is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac OS X Forums > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:21 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC