Operating System - Linux
1752754 Members
4438 Online
108789 Solutions
New Discussion юеВ

passwd: Authentication token manipulation error

 
joseph wholey
Regular Advisor

passwd: Authentication token manipulation error

RHEL3 AS. I created a handful of userids on the system. When I log into the system as one of those users and issue "passwd" (to change the password), I get the following error.

passwd: Authentication token manipulation error

Any ideas.
29 REPLIES 29
Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

Try running system-config-auth and configure the right values.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

If you are talking about the /etc/pam.d/system-auth, it has the same values as all of my other working systems. If you are in fact talking about a file called "system-config-auth", it doesn't exist.
Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

It was system-config-authentication, and yes, I want that system-config-authentication set the right values for /etc/pam.d/passwd and related files. Check also /etc/nsswitch.conf.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

Ivan, can you be a little more clear on what you are saying... thx.
Rick Garland
Honored Contributor

Re: passwd: Authentication token manipulation error

I see this when there acct's corresponding entry is not in the /etc/shadow file.

This is 1 situation is which this error occurs.

Ivan Ferreira
Honored Contributor

Re: passwd: Authentication token manipulation error

How did you created these users? With useradd? Are you using something like NIS or LDAP?

What I mean is that running system-config-authentication you can configure the pam settings for the files located in /etc/pam.d.

In /etc/nsswitch.conf you should have something like this:

passwd: files nis
shadow: files nis
group: files nis
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

Not running NIS or LDAP in my environment.
Vitaly Karasik_1
Honored Contributor

Re: passwd: Authentication token manipulation error

Joseph,
So you're able to login with your user account (and not just "su" from root), but cannot change password using "passwd"?
joseph wholey
Regular Advisor

Re: passwd: Authentication token manipulation error

Correct.