Cannot login with Password

Asked by Franz

Ubuntu 10.10 on Asus eeePC 901

When I booted today my password is not accepted.

Managed to boot in recovery mode.

At some stage it asked again for my password, and accepted it, leaving me at the command prompt.

I then started the gui with startx.

My gui is OK and all else seems to be running OK

EXCEPT
running LoginScreen (from System>Administration) the 'Unlock' button depresses briefly but it fails to open the Authentication screen.
I have also tried Users and Groups (from System>Administration) but Authentication fails.

I am leaving this PC switched on hoping to receive help.

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdm Edit question
Assignee:
No assignee Edit question
Solved by:
Franz
Solved:
Last query:
Last reply:
Revision history for this message
Knuth Gurkasch (sinn3r) said :
#1

'Refreshed' your password using the passwd [user] command?

Revision history for this message
Franz (franz-j) said :
#2

OK tried that.
Terminal says: Authentication token manipulation error
                          password unchanged

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

When I google for that error message I find some discussions on the web. Some of them indicate wrong access right settings. To check that in your system can you provide the output of the following command:

ls -la `which passwd`

Revision history for this message
Franz (franz-j) said :
#4

I guess the syntax for -la is the current password without quotes.

In this case terminal returns a response of no such file or directory.

Thank you for suggesting google re the error message. Doing that just now.

However, if anyone has a definitive answer on how i can unlock my PC quickly I would be very grateful

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

..."I guess the syntax for -la is the current password without quotes."...

No, this was a misunderstanding, just copy and paste the command as written above into a terminal, do not replace anything (especially not with your own password).

Revision history for this message
Franz (franz-j) said :
#6

Thank you Manfred
Now there is a response from terminal:

-rwsr-xr-x 1 root root 37100 2010-09-03 20:28 /usr/bin/passwd

Franz

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Ok, the file protection settings of the passwd command executable file are correct (at least they are the same as mine)

Can you as a next step please execute the following command

sudo pwck -r

There most probably will be some lines similar to "User »nobody«: directory »/nonexistent« does not exist" for some system user IDs

The question is if there are also other lines, or any other error message.

Revision history for this message
Franz (franz-j) said :
#8

Thanks Manfred. Terminal output is:
franz@ASUS-901:~$ sudo pwck -r
[sudo] password for franz:
user 'lp': directory '/var/spool/lpd' does not exist
user 'news': directory '/var/spool/news' does not exist
user 'uucp': directory '/var/spool/uucp' does not exist
user 'www-data': directory '/var/www' does not exist
user 'list': directory '/var/list' does not exist
user 'irc': directory '/var/run/ircd' does not exist
user 'gnats': directory '/var/lib/gnats' does not exist
user 'nobody': directory '/nonexistent' does not exist
user 'syslog': directory '/home/syslog' does not exist
user 'couchdb': directory '/var/lib/couchdb' does not exist
user 'usbmux': directory '/home/usbmux' does not exist
user 'speech-dispatcher': directory '/var/run/speech-dispatcher' does not exist
user 'pulse': directory '/var/run/pulse' does not exist
user 'saned': directory '/home/saned' does not exist
user 'hplip': directory '/var/run/hplip' does not exist
user 'haldaemon': directory '/var/run/hald' does not exist
pwck: no changes
franz@ASUS-901:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

I had hoped that pwck might give more error messages than just the 'directory does not exist' lines, but apparently it doesn't.

I have to confess that I am running out of ideas.

Franz, have you rebooted your system since the error first showed up?
If you reboot, is the situation always the same (gui not starting automatically, but will start with startx, passwd command not working,...)?

Revision history for this message
Franz (franz-j) said :
#10

Firstly: the problem is now solved.

When Knuth Gurkasch first suggested the passwd [user] command it didn't work, as I reported.

Just now, before trying to boot again, I re-considered the passwd [user] command - inexplicably it now worked OK.
I have changed the pw, booted, opened Login Screen and changed to Login automatically, rebooted and confirmed OK again.

All appears to be OK, except I haven't learned anything because I don't know what, if anything, I have contributed to the recovery. drat.

But thank you, Manfred and Knuth for your kind support.