Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found tons of articles how to enable password complexity, can someone guide me to how to disable it? (oracle linux)

This is my system-auth

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required
auth        sufficient nullok try_first_pass
auth        requisite uid >= 500 quiet
auth        required

account     required
account     sufficient uid < 500 quiet
account     required

password    requisite try_first_pass retry=3
#password    requisite min=N0,disabled,12,8,7 retry=3
password    sufficient md5 shadow nullok try_first_pass use_authtok
password    required
#password    [success=1 default=ignore] minlen=1 sha512

session     optional revoke
session     required
session     [success=1 default=ignore] service in crond quiet use_uid
session     required

commenting out or changing the arguments, just break pam and make it impossible to use passwd at all. Thanks

share|improve this question
How about trying to uncomment the "#password [success=1 default=ignore] minlen=1 sha512" part and see if that works? – i.h4d35 Dec 13 '12 at 15:11
up vote 0 down vote accepted

PAM module pam_cracklib is responsible for testing password for complexity. configure like below.

#password    requisite try_first_pass retry=3 type=
password    sufficient sha512 shadow nullok 
password    sufficient use_authtok
password    required
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.