Anda di halaman 1dari 9

Community

Ask!

Developer

Design

Discourse

Hardware

Insights

Juju

Shop

More

Ubuntu

sign up

Questions

Tags

Users

Ask Ubuntu is a question and answer site


for Ubuntu users and developers. It's 100%
free.

Badges

log in

tour

help

Search Q&A

Unanswered

Ask Question

Here's how it works:

Sign up

Anybody can ask


a question

Anybody can
answer

The best answers are voted


up and rise to the top

Getting an Authentication token manipulation error when trying to change my user password

46

I am logging in to my Ubuntu Server using my username. Once I am logged in I am typing passwd


command. Entering a new password but a second after getting following error messages:
passwd: Authentication token manipulation error
passwd: password unchanged

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

asked

4 years ago

viewed 127257 times


active

yesterday

pdfcrowd.com

12

What is wrong here? How can I change my password otherwise if I don't have access to that server
physically, i.e. I am connecting remotely with ssh using terminal.
passw ord-recovery

share improve this question

edited Dec 15 '13 at 14:22

Braiam
37.3k

asked Aug 18 '11 at 13:55

Bakhtiyor
16

88

152

2,719

15

47

72

The first prompt asks for your CURRENT password. Have you done that, cause if you just typed the new one,
you'll get the error message you say.. Pavlos G. Aug 18 '11 at 14:03

i have the same problem, and find the answer from this link help.ubuntu.com/community/LostPassword
blog.imammubin.com/reset-ubuntu-passwd/2014/07/07 try this code: mount -rw -o remount / hope this
helpfull.. Mubin Jul 7 '14 at 4:50

Linked
2

@Mubin: That's for an emergency recovery from single-user mode. Since this question is about a logged-in
user, we can safely assume it's not a recovery scenario. MSalters Apr 26 at 13:19

Authenticate user that has no password?


0

Single user forgot password can't do updates

add a comment

11 Answers

active

oldest

votes

Trying to change administrator password


0

Password Problems

If you insert the wrong passwd

23

-2

$ passwd
Changing password for rinzwind.
(current) UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged

administrative passwd how to change it in the root


0

Administartor password can't change


0

you get this error. If you are sure to have inserted the correct one this error might also show up if you
are using shadowed password files and the shadow doesnt have entry for this user
(basically /etc/passwd has an entry for this user, but /etc/shadow does not).
In order to fix this, you can either add the entry manually (make a backup first!!!) or recreate the
shadow file with pwconv (Manpage).
share improve this answer

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

answered Aug 18 '11 at 14:09

Password forget
0

Ubuntu 13.10 password help


355

How do I reset a lost administrative password?


97

pdfcrowd.com

Authentication token manipulation error


see more linked questions

Rinzwind
130k

13

248

344

Related
1
1

+1 my passwd/shadow set up was all messed up. Your pwconv hint was a lifesaver! djhaskin987 Aug 12
'14 at 13:55
@djhaskin987 3 years later (minus 6 days). Glad it helped you :D Rinzwind Aug 12 '14 at 14:14

add a comment

97

Authentication token manipulation error

Authentication token manipulation error when I try to


change password

Authentication Manipulation Error when trying to reset


my password

Do these two things just to make sure:

27

mount -o remount,rw /

Password recovery - usual options fail

This first part remounts the root partition as read/write since it was only in read mode. It actually
dismounts the root partition and then mounts it again as read/write.

Reset Administrative Forgotten Password?

Then do this:

chmod 640 /etc/shadow

Cannot access master account

Then do the sudo passwd USER . It should work after that. This part gives the correct permissions to
the shadow file.
share improve this answer

edited Jul 7 '15 at 15:49

Luis Alvarado

slm
1,030

answered Mar 30 '12 at 20:02

12

19

103k

105

392

577

How to fix authentication password, when password is


rejected?

Administartor password can't change

This worked for me. Could anyone help me understand what I just did? Stew Apr 25 '14 at 17:33

@Stew updated answer to explain better. Luis Alvarado Apr 25 '14 at 17:35

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

Forgotten Password -cant change

pdfcrowd.com

Great, thanks Luis! Should I change the root directory back to Read mode when I finish with this? Stew Apr
25 '14 at 17:58
1

@Stew no. It should stay like Read/Write. This is only when you want to fsck the disk for some problems not
booting correctly or other issues. By default Ubuntu Server/Desktop should boot with root in Read/Write
mode. So this method should not be needed after the problem (any that caused the issue) was solved.
Luis Alvarado Apr 25 '14 at 20:43

add a comment

change or find Authentication password

Hot Network Questions


Before the Green Trial (S6E10), had this
character ever taken a life?
How can I securely wipe an SSD?

I'm not sure how it happened. A sudo user created my account then deleted it then created it again.

May I discuss a paper I have only seen as a


referee?
What does {{{0}}} on string.Format do?

Here is what I found


mount -o remount,rw /
passwd
passwd: Authentication token manipulation error

Filling dict with NA values to allow conversion to


pandas dataframe
Why did Batman do so much better in his second
fight with Bane?
Why is the period of rotation the same for two
stars orbiting the same centre

No change.

select rows having condition met for group


(without temporary table)

sudo pwck

Showed no errors.

Is "don't mind if I do" old-fashioned?


Why would a civilisation choose to inhabit a
single enormous vessel instead of maintaining
interstellar colonies?

sudo grpck

Showed no errors.

What is Ubuntu 16.05, 16.06, etc

ls -l /etc/passwd
-rw-r--r-- 1 root
-rw-r--r-- 1 root
-rw-r----- 1 root
-rw------- 1 root

/etc/group /etc/shadow /etc/shadowroot


767 May 7 16:45 /etc/group
root
1380 May 7 16:45 /etc/passwd
shadow 1025 May 8 09:11 /etc/shadow
root
1025 May 7 16:46 /etc/shadow-

What happens with excess items if my bag is full,


and what should I do to avoid losing items?
Can I tell if the airline sold "my" seat after I
cancelled?
Fastest scenario for evolving pokemon such as
Magikarp (400 candies)?

Looks normal.

Sort a binary file without loading it into memory or

sudo cat /etc/shadow |grep oracle


using a temporary file
oracle:$6$FsPqyplr$DrIvjFDSx0ipHmECMw1AU5hTrbNMnnkGRdFlaQcM.p3Rdu2OLjY20tzUTW61HlFH16cal56rKlLuW4j2mK9D.:15833:0:99999:7:::
Can a pilot take off at his own discretion?

Showed user and encrypted password.


sudo cat /etc/shadow- |grep oracle

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

Newbie Q: Is "Field Level Security" the same as


"Field Accessibility"?
Female students coming to office hours in overly
revealing clothing

pdfcrowd.com

revealing clothing

Showed nothing. Not sure what that means but doesn't look right.

What are the most common ways international


students secure funding for graduate school in
the U.S.?

sudo passwd -d oracle


passwd

Cross-validation misuse (reporting performance


for the best hyperparameter value)

So the solution was to delete the password then reset new password.

Is Quicksilver aging faster while moving at


extreme speed?

Hope this helps.


share improve this answer

Does anybody not store salts?


answered May 8 '13 at 13:30

Bernard
171

add a comment

how can a supermassive black hole cause so


much energy to enlighten its matter when its
massive gravity prevents light to escape?
If a coin toss is observed to come up as heads
many times, does that affect the probability of the
next toss?

If you are using SELinux, running this command fixed the issue for me.

restorecon -v /etc/shadow

Thanks to this conversation for the solution.


share improve this answer

answered Aug 23 '14 at 6:39

sffc
211

add a comment

Also, ensure that your entry in /etc/passwd is not mal-formed. If you have the incorrect number of
colons in the line for your user entry, the 'passwd' command cannot parse it and refuses to continue
with the exact error message provided.
share improve this answer

answered May 8 '12 at 0:10

Magellan
90

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

add a comment

Another problem might be that the disk is full. I got this error when resetting a password, and later
checked my disks with df and found that no space is available on my disk. After freeing some I could
reset the password without problems.
share improve this answer

answered Apr 14 '14 at 10:14

erikb
133

14

add a comment

Check if you have messed up the common-password file in /etc/pam.d/ . This will cause errors if
your present password does not match the one that common-password wants. In my case this was
the reason why I was getting that authentication token error.
share improve this answer

edited Nov 17 '14 at 5:27

Aibara Iduas
4,124

answered Nov 15 '14 at 6:02

Revanth Kumar
23

49

131

add a comment

pam-auth-update

fixed my messed /etc/pam.d/common-password


share improve this answer

edited Jun 5 '15 at 16:22

A.B.
45k

answered Jun 5 '15 at 14:50

jouell
8

90

162

11

add a comment

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

This issue occurred due to the incorrect permissions set to /usr/bin/passwd .

Please try to set the permission as 4511 by using the command:


chmod 4511 /usr/bin/passwd

This will resolve the issue.


share improve this answer

edited Sep 5 '15 at 9:38

Fabby
14.8k

answered Sep 5 '15 at 9:22

Murlo
11

40

113

11

Welcome to Ask Ubuntu! ;-) Could you please review my edits and also review the editing help to improve the
readability of your questions in the future... ;-) Fabby Sep 5 '15 at 9:39
add a comment

In Lubuntu 15.04 I had the same token manipulation error. I figured this is due to the file system still in
read only mode.
Using:
mount -o remount,rw / passwd passwd: Authentication token manipulation error
This does not work but this does: mount -o remount, --rw / passwd passwd: Authentication token
manipulation error
share improve this answer

answered Nov 18 '15 at 16:46

cecil toiletseat
11

add a comment

The error says that the PAM module (see: man pam_chauthtok ) was unable to obtain the new
authentication token. This may happen on Ubuntu when the user doesn't have default password set
yet and passwd is still requesting it, so the workaround is to change the password using root

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

privileges, e.g.
sudo passwd $USER

so you won't be asked for the current password and the error won't happen.
See also: Authentication token manipulation error
share improve this answer

answered yesterday

kenorb
1,456

14

24

add a comment

protected by Community Jan 29 at 15:38


Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be
removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged

passw ord-recovery

or ask your own

question.
question feed

about us

tour

help

blog

chat

data

legal

privacy policy

work here

TECHNOLOGY
Stack Overflow

Programmers

Server Fault

Unix & Linux

Super User
Web Applications

Ask Different (Apple)


WordPress
Development

open in browser PRO version

Database
Administrators

advertising info

mobile

contact us feedback

LIFE / ARTS

CULTURE / RECREATION

SCIENCE

OTHER

Photography

English Language &


Usage

Mathematics

Stack Apps

Cross Validated (stats)

Meta Stack Exchange


Area 51

Drupal Answers

Science Fiction &


Fantasy

SharePoint

Graphic Design

Mi Yodeya (Judaism)

Theoretical Computer
Science

User Experience

Movies & TV

Travel

Physics

Are you a developer? Try out the HTML to PDF API

Skeptics

Stack Overflow Careers

pdfcrowd.com

Development

User Experience

Movies & TV

Travel

Physics

Webmasters

Geographic Information
Systems

Mathematica

Seasoned Advice
(cooking)

Christianity

MathOverflow

Game Development

Arqade (gaming)

Chemistry

Electrical Engineering

TeX - LaTeX

Android Enthusiasts

ExpressionEngine
Answers

Information Security

more (13)

Ask Ubuntu

Salesforce

Home Improvement

Bicycles

Biology

Personal Finance &


Money

Role-playing Games

more (5)

Academia

more (21)

more (9)

site design / logo 2016 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required
rev 2016.7.18.3779

Ubuntu and Canonical are registered trademarks of Canonical Ltd.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Anda mungkin juga menyukai