Unable to log in to user account
Hello. I'm using Linux Mint 9 on a Eepc 701. THe system has a single user account, and /home is moved to an SDHC card. Setup works well.
Occasionally I'll run out of battery and so system force shuts down. When this happened today I plugged in and restarted. When logging in to my user account the system returns me to the login screen - no indication that the account has failed authentication, but the login is refused. I can log in as root no problem. Tried changing the password in a terminal, didn't work. Have rebooted and shut down - nothing. Can anyone suggest any further steps to get this working please. I really don't want to reinstall if a I can help it. Thanks |
Usually this is a sign that something is wrong with your home-directory. Log in as root and launch the commands
Code:
ls -l /home |
ls -l /home returned this:
Code:
total 20 fstab line for SDHC card is: Code:
UUID=[number] /home ext2 defaults,user,exec,noatime, errors=continue 0 0 |
Could be, give it a try .. :)
BTW, I've never seen lost+found dir owned by other than root:root. Also, never seen suid+sgid perms set on either of those dirs either. |
Yes, there should be no space between the options. Just to make that clear:
You usually used a 4GB card and replaced it with a 16GB card. This shouldn't matter, the 701 can read 16GB cards, I used one myself with a 16GB card. Have you adapted the UUID in fstab after the change? What is the output of Code:
mount |
Well, I took out the space in fstab, but I still can't log in :(.
Any ideas? |
Extra spaces in fstab don't mean anything, options can be separted by a space or comma. I suspect the UUID of the new SD card is different, so it's not recognized. Even two identical cards would have a different UUID. I'd suggest changing it to the device string, like /dev/sdb1 or whatever.
|
Quote:
Code:
root@dragon ~ :) # mount /server |
Quote:
|
Quote:
|
It would be hard to believe that the text editor causes this, especially when it is vim, which is one of the most used text editors.
Anyways, since this seemingly can cause issues on some OSes it is better to avoid such a format. @Macburp: Still waiting for the output of the mount-command. Also, try it with a newly created user. If that works it is likely that it is a misconfiguration in your users settings that is causing this. |
Quote:
UUID=3edb3098-3c74-441b-9102-fbb46e01b85f /home ext4 defaults 0 2 |
@TobiSGD, here's the result of mount:
Code:
/dev/sda1 on / type ext4 (rw,errors=remount-ro) |
Quote:
|
All times are GMT -5. The time now is 12:40 PM. |