Author Topic: passwd: Authentication token manipulation error  (Read 26522 times)

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
passwd: Authentication token manipulation error
« on: February 14, 2012, 01:28:51 pm »
Whenever I am trying to assign the password to user, I am getting this -

Code: [Select]
serveradmin@openserver:~/LAMP$ sudo passwd salaryuser
passwd: Authentication token manipulation error
passwd: password unchanged

I also tried with this, but no luck

Code: [Select]
serveradmin@openserver:~/LAMP$ sudo mount -n -o remount,rw /
serveradmin@openserver:~/LAMP$ su root
Password:
root@openserver:/home/serveradmin/LAMP# passwd salaryuser
passwd: Authentication token manipulation error
passwd: password unchanged

Any help would be appreciated?

christian

  • Guest
Re: passwd: Authentication token manipulation error
« Reply #1 on: February 14, 2012, 01:57:21 pm »
Is this account an ldap account?

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #2 on: February 14, 2012, 01:59:30 pm »
Thanks for your reply.
This is not an ldap account. I just added that user via "useradd" command.

robb

  • Guest
Re: passwd: Authentication token manipulation error
« Reply #3 on: February 14, 2012, 03:26:50 pm »
Have a look HERE. It might explain your problem.

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #4 on: February 15, 2012, 03:09:01 pm »
Have a look HERE. It might explain your problem.

Didn't work. Moreover, After doing that I was not able to login to my root and admin account. It was not accepting password. Now, I am not able to login in my Zentyal GUI interface (https://localhost/) - shows invalid password. I have already restored my previous shadow file, it is still not working. Now I cannot login to zentyal interface.

However, I am able to login in server using ssh access.

« Last Edit: February 15, 2012, 04:20:06 pm by rahulbaba »


rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #6 on: February 16, 2012, 12:40:30 pm »
look here http://www.ideaexcursion.com/2009/09/11/fixing-authentication-token-manipulation-error-when-changing-passwords-with-passwd/
Likewise open was not installed on the system, so that didn't work. Now, I am not only having that authentication token manipulation error. I am also not able to login to Zentyal web interface using my admin account, it shows invalid password.

robb

  • Guest
Re: passwd: Authentication token manipulation error
« Reply #7 on: February 16, 2012, 12:44:30 pm »
If you have physical access to the system, you can reset root password: http://www.psychocats.net/ubuntu/resetpassword

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #8 on: February 16, 2012, 01:26:29 pm »
If you have physical access to the system, you can reset root password: http://www.psychocats.net/ubuntu/resetpassword

I am little confused about that solution. Is this a solution for - "I am also not able to login to Zentyal web interface using my admin account, it shows invalid password." error OR this is a solution for "passwd: Authentication token manipulation error
passwd: password unchanged"  error.

robb

  • Guest
Re: passwd: Authentication token manipulation error
« Reply #9 on: February 16, 2012, 03:23:44 pm »
The last post is if you have no root access anymore (or forgot you root password) It has nothing to do with access to Zentyal webinterface.

Just to remind you: Zentyal webinterface access is for any account that is member of the 'admin' group. So if you manage to add an account to that group, you can login to the webinterface.

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #10 on: February 17, 2012, 05:45:20 am »
The last post is if you have no root access anymore (or forgot you root password) It has nothing to do with access to Zentyal webinterface.

Just to remind you: Zentyal webinterface access is for any account that is member of the 'admin' group. So if you manage to add an account to that group, you can login to the webinterface.

NO, I haven't forgotten the root or admin password. I can login via ssh in to my server and can run sudo commands. The problem is only that I am not able to login to zentyal interface. In addition, the user which I am using for accessing the zentyal interface is in admin group.

This problem occur after doing this -
Have a look HERE. It might explain your problem.

locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #11 on: February 17, 2012, 09:15:17 am »
1.Why you manually add users?This is very sticky method.

2. In modern Unix like Linux systems users under user identifier number  1000 treated like system user.You user Manny have user identifier 503?Why?
From your example :
Quote
add a user name: manny::503:503:Manny Fernandez:/home/manny:/bin/bash

My user example
Quote
myuser:x:1000:1000:myuser,,,:/home/myuser:/bin/bash


3.You must have x field
Quote
however in most modern uses this field is usually set to "x" (or some other indicator) with the actual password information being stored in a separate shadow password file

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #12 on: February 21, 2012, 06:23:50 am »
This issue is never going to solve. :-[

locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #13 on: February 22, 2012, 11:27:38 am »
This your user who has ssh login access.Check this user name in another files.

/etc/passwd
/etc/shadow
/etc/group

In group file do you have
Quote
adm:x:4:ebox,youruser
?

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #14 on: February 22, 2012, 11:59:11 am »
Yes my user is present in those files. In /etc/group - adm:x:4:ebox,serveradmin,nexussalary