ubuntu won't accept password

Asked by Lindsay M. Lee

 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:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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

df -h

Are the partitions for Ubuntu quite full?

Revision history for this message
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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

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.

Revision history for this message
Lindsay M. Lee (lml98905) said :
#4

 Same problem.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

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

Revision history for this message
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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

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

Revision history for this message
Lindsay M. Lee (lml98905) said :
#8

  How do you do that?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Run:

df -h

Like I stated earlier....

Revision history for this message
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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

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

Revision history for this message
Lindsay M. Lee (lml98905) said :
#12

  What is the command to remove/uninstall Libreoffice?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

sudo apt-get --purge remove libreoffice*

Revision history for this message
Lindsay M. Lee (lml98905) said :
#14

Said "command not found".

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

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.