Linux - SecurityThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have implemented password policy on RHEL 6.5 64 bit. I have attached the configuration files which used on sever side.
Quote:
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_fprintd.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
Quote:
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
1- Which files are these?
2- What do you want to achieve?
3- I don't quite understand the problem. Can you restate it in different words, or elaborate? What can not be implemented?
1- Which files are these?
2- What do you want to achieve?
3- I don't quite understand the problem. Can you restate it in different words, or elaborate? What can not be implemented?
Hi Berndbausch,
Appreciate your help.
1-
These files are -
ls -ltrh /etc/pam.d/system-auth
ls -ltrh /etc/pam.d/password-auth
2. Above are the configuration files, these works well. but the scenario is -
First time the client user set his own password as per defined password policy.
Now the queries begins here.
The user is able to change his own password and it takes a dictionary word. why he doesn't set his own password as per the defined policy rules.
The user is able to change his own password and it takes a dictionary word. why he doesn't set his own password as per the defined policy rules.
You mean that your configuration allows dictionary words? And you want to know why?
Your configuration is minimally different from the default config. You just set up some rules about minimal length and number of digits, upper case, lower case and other characters, and remember the last 5 passwords.
So, if users can enter dictionary words, I don't understand why. Perhaps the dictionary on your system is broken.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.