login - Password won't work in GUI or command line - Ask Ubuntu


all of sudden 1 day computer required me log in before going desktop. put in password, didn't work, , when tried fix problem via command line, command line wouldn't accept password either.

i reset password twice, absolutely sure using correct password, still wouldn't accept new password after changed.

the method used change password was:

mount -o remount,rw / chmod 640 /etc/shadow sudo passwd user 
  • when correct password used returns screen

    login screen, loop correct password

    and when incorrect password used, returns screen

    login screen, loop incorrect password

i followed instructions to mount root file-system/chroot in live cd/usb, , try chroot with strace -o login.strace login to see if got different results didn't. enter image description here


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User