GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Operating System  >  UNIX
Go To First  |  Previous Question  |  Next Question 
 UNIX  |  Question 50 of 57    Print  
UNIX Password change issue
Hi,

While trying to change the password of a normal user [ I logged in as root], I am getting the following message :-

[root@localhost root]# passwd someuser
Changing password for user someuser.
passwd: Authentication information cannot be recovered
[root@localhost root]#
-------------------
Think there's some issue in PAM configuration for password policy, please guide me for the same. Its urgent.

Thanks
geek36



  
Total Answers and Comments: 3 Last Update: April 16, 2008     Asked by: geek36 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: vishpri
 
run pwdck command at the command line.
this command will ensure the consistency with all the user authentication files like
1. /etc/security/passwd
2. /etc/passwd
3. /etc/security/login.cfg
4. /etc/security/user

Above answer was rated as good by the following members:
akbarjainsha
December 19, 2007 07:31:14   #1  
joybanerjee Member Since: November 2007   Contribution: 19    

RE: UNIX Password change issue
The password  file  is  corroupted.Thats  why this  message  is  coming.
check the  file  /etc/passwd

 
Is this answer useful? Yes | No
December 25, 2007 13:19:58   #2  
Amit Shiknis Member Since: December 2007   Contribution: 8    

RE: UNIX Password change issue
I would suggest to check for two things:-

1) check for /etc/passwd | grep username

2) edit following file and remove only 'use_authtok' from this file.
#  vi /etc/pam.d/common-password
password sufficient pam_ldap.so use_authtok
password required pam_unix.so nullok obscure min=4 max=8 md5

Let me know if this does not solve your problem.

Thanks,
Amit Shiknis

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 16, 2008 07:21:09   #3  
vishpri Member Since: March 2008   Contribution: 16    

RE: UNIX Password change issue
run pwdck command at the command line.
this command will ensure the consistency with all the user authentication files like
1. /etc/security/passwd
2. /etc/passwd
3. /etc/security/login.cfg
4. /etc/security/user

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape