Monday, June 24, 2013

RHL user cannot change password

Hi, I feel very frustrate with the the RHL E5 in here. It was not installed by me. But I have found that no user can change himself/herself password, except super user "root. The message is show as: 
Changing password for user test2. 
Changing password for test2 
(current) UNIX password: 
passwd: Authentication token manipulation error 
Hi, 
check permission of /usr/bin/passwd 
this file must be "s" permission 
-r-s--x--x 1 root root 18200 Jun 17 2005 /usr/bin/passwd
Hi, 
It so Easy to Change ur Password in RHEL5 as normal user 
Do Following Steps : 
1). Login with ur existing username & password 
# [test2@localhost]$ passwd 
Changing password for user test2 
New UNIX password: 
Retype new UNIX password: 
passwd: all authentication tokens updated successfully. 
# [test2@localhost]$ 
That mean ur Password has been successfully change, but id got an error 
like 
*passwd: Authentication token manipulation error * 
Mean password provided by you, does not meet to its policy, so u need to 
give password having 6 or more character long containing alpha, numeric & 
some special character. then this error will not come again 
For Example : *Pa$$word@123* 
Hi, 
I think this is a problem with the username mismatch in /etc/passwd and 
/etc/shadow file. Check the both file and make necessary changings. 
If It won't work try with the followings... 
->Make a backup of /etc/shadow 
->Delete /etc/shadow and convert /etc/passwd using pwconvert. 
same goes for /etc/groups. 
Hi 
check your passwd and shadow file right and it may 
be happen when u have configure nis on this systeam or check /etc/logindefs 
file if any change u have done in user pollicy .



0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM