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

locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #15 on: February 22, 2012, 02:05:10 pm »
Seems everything OK.Do you can paste into rows for this user from /etc/passwd and /etc/shadow?For compare with my user...

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #16 on: February 22, 2012, 03:41:09 pm »
Seems everything OK.Do you can paste into rows for this user from /etc/passwd and /etc/shadow?For compare with my user...

Here is the output -

Code: [Select]
serveradmin@openserver:~$ cat /etc/shadow | grep serveradmin
serveradmin:$6$enN7XBpM$Pywjq36pESgNwToun4009DmvqsyG2YTSi/ksBhoBk27QyEmGo2d.FVkwvDr41FdV44jLv/unWtGCaEdeeBlMP1:15336:0:99999:7:::
Code: [Select]
serveradmin@openserver:~$ cat /etc/passwd | grep serveradmin
serveradmin:x:1000:1000:Application Nexus:/home/serveradmin:/bin/bash

locoabreu

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #17 on: February 23, 2012, 07:45:02 am »
And in passwd and shadow file all look fine.

Check in /etc/group do you have lines belllow.

Quote
lpadmin:x:114:serveradmin
sambashare:x:115:serveradmin
admin:x:116:serveradmin



Here you have maybe useful article to solve this.https://mohammednv.wordpress.com/2008/01/08/authentication-token-manipulation-error-when-changing-user-passwords-in-linux/
« Last Edit: February 23, 2012, 07:51:01 am by locoabreu »

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #18 on: February 23, 2012, 08:33:31 am »
Thank You very much for replying. Yes it is there in /etc/group, this is the output -

Code: [Select]
serveradmin@openserver:~$ cat /etc/group | grep serveradmin
root:x:0:serveradmin,nexussalary,library
adm:x:4:ebox,serveradmin,nexussalary
dialout:x:20:serveradmin,asterisk
cdrom:x:24:serveradmin,ebox
www-data:x:33:serveradmin
plugdev:x:46:serveradmin
serveradmin:x:1000:nexussalary,library
lpadmin:x:117:serveradmin,ebox
sambashare:x:118:serveradmin
admin:x:119:serveradmin,domainadmin
libvirtd:x:129:serveradmin

I already tried with pwconv, but that blocked the user,"serveradmin", from accessing the zentyal web interface. Now, I am no more able to login to zentyal web interface using this username.

yadap

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #19 on: July 19, 2012, 08:23:12 pm »
@rahulbaba.. If you are still looking for solution to your problem, here is how I solved the same problem as yours but without digging the other files like /etc/shadow or /etc/passwd etc.

in the terminal

Code: [Select]
sudo pam-auth-update --force
press enter till authentication dialog box goes away

Hope it helps.
« Last Edit: July 19, 2012, 08:27:18 pm by yadap »

rahulbaba

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #20 on: July 23, 2012, 09:05:17 am »
@rahulbaba.. If you are still looking for solution to your problem, here is how I solved the same problem as yours but without digging the other files like /etc/shadow or /etc/passwd etc.

in the terminal

Code: [Select]
sudo pam-auth-update --force
press enter till authentication dialog box goes away

Hope it helps.

Thank You for replying. I have tried almost everything, but still the problem is their. I have tried that solution, after entering the command, I got the PAM Package configuration screen(attached the screenshot) and pressed enter. After that when I tried to change the password, I am getting this now -

Code: [Select]
root@openserver:~# passwd user1
passwd: Authentication information cannot be recovered
passwd: password unchanged

catz

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: passwd: Authentication token manipulation error
« Reply #21 on: June 11, 2013, 03:32:45 am »
try updating the file I have the same problem and it finally worked when I updated it