Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-03-2008, 06:26 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2008
Posts: 3
Rep:
|
Disable complext passwords
hi,
We are migrating a *NIX app to Linux RHEL5 and need to maintain the same password policy, which allow dictionary words!
How do I disable dictionary checking on the RH box?
I've tried editing /etc/pam.d/passwd to the following:
#%PAM-1.0
auth include system-auth
account include system-auth
password required /lib/security/pam_unix.so md5 shadow nullok
But I still keep getting the following error when trying to change a user password (works find from root!):
it is based on a dictionary word
I'm completely stumped & frustrated!!!
Please help?
Thanks
H.
|
|
|
|
07-03-2008, 06:44 AM
|
#2
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
Quote:
|
it is based on a dictionary word
|
is just a warning. It does actually change the password.
Just type in the password two times and it will accept it.
Anyhow, it is always advisable to keep your passwords complex. It might make you frustrated but its for the best.
|
|
|
|
07-03-2008, 08:00 AM
|
#3
|
|
Member
Registered: Dec 2002
Posts: 303
Rep:
|
If you aren't able to use complex passwords, I hope you at least have a clipping level set, as well as log and monitor its account lockouts.
|
|
|
|
07-03-2008, 09:10 AM
|
#4
|
|
LQ Newbie
Registered: Jul 2008
Posts: 3
Original Poster
Rep:
|
>>>W3bD3v1 : is just a warning. It does actually change the password.
Just type in the password two times and it will accept it.
I've tried it three times & eventually fails with the following
Retype new UNIX password:
it is based on a dictionary word
passwd: Authentication token manipulation error
and doesn't change the p/w...
Is there something else I need to change?
thanks again,
H.
|
|
|
|
07-03-2008, 04:12 PM
|
#5
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
"Your password isn't complicated enough" annoys me big time.
My solution:
Become root
Assign a new password.
It works (for me) 
|
|
|
|
07-04-2008, 12:54 AM
|
#6
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
ahh, I thought he was doing it with root privileges.
|
|
|
|
07-18-2008, 06:01 AM
|
#7
|
|
LQ Newbie
Registered: Jul 2008
Posts: 3
Original Poster
Rep:
|
Fixed!
It's a bug in rhel5 which doesn't allow you to disable the dictionary checking, - should be fixed in 5.3
To get around the problem simply clear out the dictionary...
# echo word | packer /usr/share/cracklib/pw_dict
You should be able to use any dictionary word!!! (except "word")
Worked for me! - Thanks to RH support for this one!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|