Solved

Ubuntu change password : authentication token error

Posted on 2009-05-11
6
6,344 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
ID: 24355939
Try un-joining the machine from the domain.
0
 

Author Comment

by:tech_ci_sherbe
ID: 24356230
Same problem with the domain un-joined
0
 
LVL 14

Accepted Solution

by:
fmarzocca earned 500 total points
ID: 24356295
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:tech_ci_sherbe
ID: 24357467
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
ID: 24357541
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
ID: 34821857
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 75
Coding C# in Linux 8 71
error log using ftp 7 41
How to change the nameserver on Ubuntu Server 6 28
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

832 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