Solved

Ubuntu change password : authentication token error

Posted on 2009-05-11
6
6,329 Views
Last Modified: 2013-12-16
Hi people,

I'm running the latest version of Ubuntu and I get the following error when trying to change a password :
root@linux01 :
passwd : authentication token error
passwd : password unchanged

The same happen when I add a user. Here are the permissions for passwd and shadow files
-rw-r--r-- 1 root root 1569 2009-05-11 10:36 passwd
-r--r----- 1 root shadow 939 2009-05-11 10:36 shadow

After a few hours of searching through the web I didn't find anything that fixes my problem. I found this article http://www.linuxquestions.org/questions/linux-newbie-8/passwd-authentication-token-manipulation-error-236955/    that talks about a file /etc/pam.d/system-auth but I don't have a file with this name in /etc/pam.d. This image is almost freshly installed, the only thing I did after the installation was join the domain with likewise-open and check out a few things with gconf. Any ideas ?

Thank you.
0
Comment
Question by:tech_ci_sherbe
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:fmarzocca
Comment Utility
Try un-joining the machine from the domain.
0
 

Author Comment

by:tech_ci_sherbe
Comment Utility
Same problem with the domain un-joined
0
 
LVL 14

Accepted Solution

by:
fmarzocca earned 500 total points
Comment Utility
There is a bug in likewise package:
https://bugs.edge.launchpad.net/ubuntu/+source/likewise-open/+bug/302026

Try reading that bug report. An user proposed a workaround.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:tech_ci_sherbe
Comment Utility
Thanks alot, I don't know how you found that so quickly but thanks :P I would have never guessed it had something to do with open likewise. I installed libpam-cracklib package and then I could change any passwords. I tried to rejoin the domain and check if I could still do it and everything seems OK so far.
0
 
LVL 14

Expert Comment

by:fmarzocca
Comment Utility
I'm glad to read you fixed that. I am an ubuntu-member, so first thing I do is to look into launchpad!
0
 

Expert Comment

by:twinsgram
Comment Utility
i downloaded ubuntu to my laptop which is a refurbished one from a large company....i absolutely cannot get past the "authenticate' password to download java or adobe flash player which I need to play the online games I enjoy.  I have to be told how as if I am a pre-schooler lol (computer knowledge is minimal
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now