Solved

Ubuntu change password : authentication token error

Posted on 2009-05-11
6
6,365 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Independent Software Vendors: 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!

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Noteā€¦
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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