Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ubuntu change password : authentication token error

Posted on 2009-05-11
6
Medium Priority
?
6,383 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: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
Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

 

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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

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…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

730 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