Operating System - Linux
1748226 Members
4442 Online
108759 Solutions
New Discussion юеВ

Re: passwd: Authentication token manipulation error

 
Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

What do you get when you run passwd in the /var/log/messages and /var/log/secure file?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

Also, ensure that the passwd command has the SUID bit enabled and it's owned by root.root.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: passwd: Authentication token manipulation error

- can you send us output of
"grep passwd /etc/nsswitch.conf"
- is it possible to change root's password?
- is root able to change user's password?
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

- can you send us output of
"grep passwd /etc/nsswitch.conf"
[root@rhel012 u]# grep passwd /etc/nsswitch.conf
#passwd: db files ldap nis
passwd: files


- is it possible to change root's password?
yes

- is root able to change user's password?
yes
Vitaly Karasik_1
Honored Contributor

Re: passwd: Authentication token manipulation error

Agree with Ivan - permission/ownership of /usr/bin/passwd may be a problem. Let's check integrity of "passwd" package with

rpm -V passwd

command. Output of this command should be empty if everything is OK.
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

As indicated... no output.
Vitaly Karasik_1
Honored Contributor

Re: passwd: Authentication token manipulation error

"chpw" output?
Steven Mertens
Trusted Contributor

Re: passwd: Authentication token manipulation error

Hello,

Is it possible you never set an initial password for the users you created with root ?

Try first setting a password with root for
the users you created.
Login with one of the created users and try passwd then.

Hope this helps.

S.
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error


Possible... but not the case. I create the id, set the password, log in for the first time using that password, go to change the password, and then I get the error:

passwd: Authentication token manipulation error

thx

Is it possible you never set an initial password for the users you created with root ?

Try first setting a password with root for
the users you created.
Login with one of the created users and try passwd then.
Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

Logs please! /var/log/message /var/log/secure after the passwd command.

Check permissions for the /etc/passwd and /etc/shadow file.

/etc/passwd root.root -rw-r--r--
/etc/shadow root.root -r--------
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?