?
Solved

Ubuntu change password : authentication token error

Posted on 2009-05-11
6
Medium Priority
?
6,397 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:Fabio Marzocca
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:
Fabio Marzocca earned 2000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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:Fabio Marzocca
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

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 11 hours left to enroll

850 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