LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2010, 03:43 PM   #1
swissrunner
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
Authentication token lock busy


Hi guys,

So I just upgraded my ubuntu machine to 9.10 and when I try to change my password with passwd it says,

Code:
passwd: Authentication token lock busy
passwd: password unchanged
similarly if I try to su to another user I receive:

Code:
su: Authentication failure
I did some research and it looks like most of the time this problem is caused by the file system being in read-only mode vs read-write so I did:

Code:
mount -o remount,rw /
but this didn't fix the problem. Any ideas?
 
Old 04-01-2010, 05:57 PM   #2
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
In Ubuntu you are not meant to have the password for user root. Access to suer-user privileges are through sudo. If you bypassed that rule in the previous install, the upgrade has possibly reverted to defaults...
 
Old 04-02-2010, 03:28 PM   #3
swissrunner
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
I am not trying to su to root, just to another user because I have two accounts on the computer. The real problem to me though is more the inability to change my password either through the command line or the gui. If I try to do it through system > administration > users and groups> I can't unlock the accounts to edit them even though I do have sudo privileges. It returns with authentication failed but the password is correct because it works when I try to sudo something on the command line. If any of this is vague I apologize let me know and I will try to clear it up.
Thanks for your help
 
Old 04-02-2010, 04:45 PM   #4
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
Some thoughts: is the behaviour the same in CLI ?
What is /var/log/auth.log say?
Any PAM issues ?
Finally, could try a workaround by booting into a live CD. Then mount root filesystem and edit the /etc/shadow file and remove the password for the user. Not a very elegant solution, but might work (should allow password change on subsequent boot).
 
  


Reply

Tags
authentication, ubuntu, upgrade



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication token manipulation error shadow_rana Linux - Newbie 2 06-03-2009 03:05 AM
Authentication Token Manipulation Error manfernandez Linux - Security 10 06-06-2008 11:49 AM
Secure authentication - OTP? Token? jantman Linux - Security 3 12-07-2007 12:27 AM
Authentication Token Manipulation Error lt_wentoncha Mandriva 2 08-09-2007 03:16 AM
authentication token manipulation error abuelmaati Linux - Newbie 3 02-04-2005 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration