At the time of changing password of user "kirjad" we got below error:
root@testsrv ~]# passwd kirjad
Changing password for user kirjad.
New password:
/usr/share/cracklib/pw_dict: error reading header
PWOpen: Success
Solution:
1. Re-install "cracklib-dicts" rpm.
[root@testsrv ~]# rpm -e cracklib-dicts --nodeps
-e : to erase/uninstall cracklib-dicts rpm
2.
[root@testsrv ~]# yum install cracklib-dicts
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
root@testsrv ~]# passwd kirjad
Changing password for user kirjad.
New password:
/usr/share/cracklib/pw_dict: error reading header
PWOpen: Success
Solution:
1. Re-install "cracklib-dicts" rpm.
[root@testsrv ~]# rpm -e cracklib-dicts --nodeps
-e : to erase/uninstall cracklib-dicts rpm
2.
[root@testsrv ~]# yum install cracklib-dicts
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
yum | 3.9 kB 00:00 ...
yum-update | 3.0 kB 00:00 ...
yum-update/primary_db | 13 MB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cracklib-dicts.x86_64 0:2.8.16-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
cracklib-dicts x86_64 2.8.16-4.el6 yum 3.6 M
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 3.6 M
Installed size: 8.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
pam-1.1.1-17.el6.x86_64 has missing requires of cracklib-dicts >= ('0', '2.8', None)
Installing : cracklib-dicts-2.8.16-4.el6.x86_64 1/1
Verifying : cracklib-dicts-2.8.16-4.el6.x86_64 1/1
Installed:
cracklib-dicts.x86_64 0:2.8.16-4.el6
Complete!
3.
[root@testsrv ~]# passwd kirjad
Changing password for user kirjad.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@testsrv ~]#
yum-update | 3.0 kB 00:00 ...
yum-update/primary_db | 13 MB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cracklib-dicts.x86_64 0:2.8.16-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
cracklib-dicts x86_64 2.8.16-4.el6 yum 3.6 M
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 3.6 M
Installed size: 8.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
pam-1.1.1-17.el6.x86_64 has missing requires of cracklib-dicts >= ('0', '2.8', None)
Installing : cracklib-dicts-2.8.16-4.el6.x86_64 1/1
Verifying : cracklib-dicts-2.8.16-4.el6.x86_64 1/1
Installed:
cracklib-dicts.x86_64 0:2.8.16-4.el6
Complete!
3.
[root@testsrv ~]# passwd kirjad
Changing password for user kirjad.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@testsrv ~]#
Regards,
Kalyanjit
No comments:
Post a Comment