Re: Can't change users password
From: Kasper Dupont (kasperd@daimi.au.dk)
Date: 02/12/03
- Next message: killerkit: "Start linux without login prompt"
- Previous message: Jacki: "Can't change users password"
- In reply to: Jacki: "Can't change users password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Kasper Dupont <kasperd@daimi.au.dk> Date: Wed, 12 Feb 2003 15:52:00 +0100
Jacki wrote:
>
> When I try to change users password I get this error:
> "passwd: Authentication token manipulation error"
> root can change the password without any problems.
> Can someone help me find the problem
> I am running RH-7.3
First check all the obvious possibilities:
1) Did you type the old password correctly
2) Is the new password long enough
3) Did you type the new password correctly both times.
If that is not the problem try looking in the logs
/var/log/secure and /var/log/messages to see if
anything was logged.
If everything else fails try strace. Tracing passwd
is a litle tricky because it is a suid executable.
Open two shells, one as root and one as the user that
wants to change password. In the user shell type
echo $$ to get the pid of the shell, then type the
passwd command but do not press return yet. In the
root shell then type strace -f -p pid with the pid
of the user shell. You could additionally use the -o
option for strace to dump the output to a file.
Here is sample session:
[kasperd:pts/3:~] echo $$
21098
[kasperd:pts/3:~] passwd
Changing password for kasperd
(current) UNIX password:
[kasperd:pts/3:~] exit
[root:pts/5:~] strace -o passwd.strace.txt -f -p 21098
[root:pts/5:~]
-- Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:aaarep@daimi.au.dk for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);
- Next message: killerkit: "Start linux without login prompt"
- Previous message: Jacki: "Can't change users password"
- In reply to: Jacki: "Can't change users password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|