ubuntu won't accept password

Asked by Lindsay M. Lee on 2012-06-24

 I have ubuntu 10.04. I have two user sign ins to my computer. Lately , on the sign in screen instead of the normal task bar specifications of language, keyboad , and session- it just came up with session on the taskbar. When I typed in the password (both for each user) , it would blank out then return to the sign in screen. What happened?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-12
Last reply:
2012-07-12

If you press CTRL+ALT+F1 and log in there, then run:

df -h

Are the partitions for Ubuntu quite full?

Lindsay M. Lee (lml98905) said : #2

 Didn't get that far. When I tried to sign in, using the correct user name and password, it came back "invalid password". FYI I have Xubuntu. When the sign in screen comes up, it says ubuntu.

Then I suggest you reboot and hold SHIFT, select recovery mode then select root. You can now run:

passwd foo; reboot

Replace foo with your username. Eg:

passwd andy; reboot

You can now log in as your username with the new password.

Lindsay M. Lee (lml98905) said : #4

 Same problem.

Did you check the free space while you were changing your password?

Lindsay M. Lee (lml98905) said : #6

  Never got to changing my password. After I did the ' passwd andy;reboot' thing , the thing rebooted and no change in the problem.

did you check the free space in the root recovery console?

Lindsay M. Lee (lml98905) said : #8

  How do you do that?

Run:

df -h

Like I stated earlier....

Lindsay M. Lee (lml98905) said : #10

said:

Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 16G 0 100% /
none 497M 236K 497M 1% /dev
none 502M 0 502M 0% /dev/shm
none 502M 32K 501M 1% /var/ run
none 502M 0 502M 0% /var/lock
none 502M 0 502M 0% /lib/init/rw
/dev/sda1 466G 42G 424G 10% /host

Yes, your file system is full so you will have issues logging in. If you run:

uname -a

You will see the running kernel. If you run:

dpkg -l | grep linux-image | grep -v linux-image-generic

You will see the installed kernels. You can remove any of the installed kernels but not the running kernel.. This will save a lot of space. And will fix your login issue. Or you can uninstall Libreoffice and log in, then remove the old kernels and free up space by using bleachbit intelligently, then reinstall Libreoffice. Either way is fine

Lindsay M. Lee (lml98905) said : #12

  What is the command to remove/uninstall Libreoffice?

sudo apt-get --purge remove libreoffice*

Lindsay M. Lee (lml98905) said : #14

Said "command not found".

sudo apt-get --purge remove libreoffice-core
sudo apt-get --purge autoremove

Should do it

Can you help with this problem?

Provide an answer of your own, or ask Lindsay M. Lee for more information if necessary.

To post a message you must log in.