renamed accounts_password_pam_cracklib_ucredit to accounts_password_pam_ucredit

[shawnw@ssgdev-rhel7 scap-security-guide]$ grep -rin accounts_password_pam_cracklib_ucredit *
RHEL/6/input/auxiliary/stig_overlay.xml:183:	<overlay owner="disastig" ruleid="accounts_password_pam_cracklib_ucredit" ownerid="RHEL-06-000057" disa="192" severity="low">
RHEL/6/input/profiles/CS2.xml:12:<select idref="accounts_password_pam_cracklib_ucredit" selected="true"/>
RHEL/6/input/profiles/CSCF-RHEL6-MLS.xml:169:<select idref="accounts_password_pam_cracklib_ucredit" selected="true" />
RHEL/6/input/profiles/common.xml:56:<select idref="accounts_password_pam_cracklib_ucredit" selected="true"/>
RHEL/6/input/profiles/fisma-medium-rhel6-server.xml:280:<select idref="accounts_password_pam_cracklib_ucredit" selected="true" />
RHEL/6/input/profiles/rht-ccp.xml:59:<select idref="accounts_password_pam_cracklib_ucredit" selected="true"/>
RHEL/6/input/profiles/usgcb-rhel6-server.xml:78:<select idref="accounts_password_pam_cracklib_ucredit" selected="true" />
RHEL/6/input/system/accounts/pam.xml:314:<Rule id="accounts_password_pam_cracklib_ucredit">
RHEL/6/input/system/accounts/pam.xml:334:<oval id="accounts_password_pam_cracklib_ucredit" value="var_password_pam_cracklib_ucredit"/>
RHEL/7/input/profiles/rht-ccp.xml:56:<select idref="accounts_password_pam_cracklib_ucredit" selected="true"/>
RHEL/7/input/system/accounts/pam.xml:313:<Rule id="accounts_password_pam_cracklib_ucredit">
RHEL/7/input/system/accounts/pam.xml:333:<oval id="accounts_password_pam_cracklib_ucredit" value="var_password_pam_cracklib_ucredit"/>
shared/oval/accounts_password_pam_cracklib_ucredit.xml:2:  <definition class="compliance" id="accounts_password_pam_cracklib_ucredit" version="1">
[shawnw@ssgdev-rhel7 scap-security-guide]$ sed -i 's/accounts_password_pam_cracklib_ucredit/accounts_password_pam_ucredit/g' RHEL/6/input/auxiliary/stig_overlay.xml RHEL/6/input/profiles/* RHEL/6/input/system/accounts/pam.xmlRHEL/7/input/profiles/rht-ccp.xml RHEL/7/input/system/accounts/pam.xml shared/oval/accounts_password_pam_cracklib_ucredit.xml
sed: can't read RHEL/6/input/system/accounts/pam.xmlRHEL/7/input/profiles/rht-ccp.xml: No such file or directory
[shawnw@ssgdev-rhel7 scap-security-guide]$ sed -i 's/accounts_password_pam_cracklib_ucredit/accounts_password_pam_ucredit/g' RHEL/6/input/auxiliary/stig_overlay.xml RHEL/6/input/profiles/* RHEL/6/input/system/accounts/pam.xml RHEL/7/input/profiles/rht-ccp.xml RHEL/7/input/system/accounts/pam.xml shared/oval/accounts_password_pam_cracklib_ucredit.xml
[shawnw@ssgdev-rhel7 scap-security-guide]$ vim shared/oval/accounts_password_pam_cracklib_ucredit.xml
[shawnw@ssgdev-rhel7 scap-security-guide]$ grep -rin var_password_pam_cracklib_ucredit *
OpenStack/input/profiles/stig-rhevm3.xml:247:<refine-value idref="var_password_pam_cracklib_ucredit" selector="2"/>
RHEL/6/input/fixes/bash/accounts_password_pam_cracklib_ucredit.sh:2:populate var_password_pam_cracklib_ucredit
RHEL/6/input/fixes/bash/accounts_password_pam_cracklib_ucredit.sh:5:	sed -i --follow-symlink "s/\(ucredit *= *\).*/\1$var_password_pam_cracklib_ucredit/" /etc/pam.d/system-auth
RHEL/6/input/fixes/bash/accounts_password_pam_cracklib_ucredit.sh:7:	sed -i --follow-symlink "/pam_cracklib.so/ s/$/ ucredit=$var_password_pam_cracklib_ucredit/" /etc/pam.d/system-auth
RHEL/6/input/profiles/stig-rhel6-server-upstream.xml:111:<refine-value idref="var_password_pam_cracklib_ucredit" selector="1" />
RHEL/6/input/profiles/common.xml:246:<refine-value idref="var_password_pam_cracklib_ucredit" selector="2"/>
RHEL/6/input/profiles/rht-ccp.xml:17:<refine-value idref="var_password_pam_cracklib_ucredit" selector="2"/>
RHEL/6/input/profiles/usgcb-rhel6-server.xml:77:<refine-value idref="var_password_pam_cracklib_ucredit" selector="1" />
RHEL/6/input/system/accounts/pam.xml:178:<Value id="var_password_pam_cracklib_ucredit" type="number" operator="equals" interactive="0">
RHEL/6/input/system/accounts/pam.xml:334:<oval id="accounts_password_pam_ucredit" value="var_password_pam_cracklib_ucredit"/>
RHEL/7/input/profiles/rht-ccp.xml:17:<refine-value idref="var_password_pam_cracklib_ucredit" selector="2"/>
RHEL/7/input/system/accounts/pam.xml:178:<Value id="var_password_pam_cracklib_ucredit" type="number" operator="equals" interactive="0">
RHEL/7/input/system/accounts/pam.xml:333:<oval id="accounts_password_pam_ucredit" value="var_password_pam_cracklib_ucredit"/>
RHEVM3/input/profiles/stig-rhevm3.xml:247:<refine-value idref="var_password_pam_cracklib_ucredit" selector="2"/>
shared/oval/accounts_password_pam_cracklib_ucredit.xml:30:    var_ref="var_password_pam_cracklib_ucredit" />
shared/oval/accounts_password_pam_cracklib_ucredit.xml:34:  datatype="int" id="var_password_pam_cracklib_ucredit"
[shawnw@ssgdev-rhel7 scap-security-guide]$ sed -i 's/var_password_pam_cracklib_ucredit/var_password_pam_ucredit/g' OpenStack/input/profiles/stig-rhevm3.xml RHEL/6/input/fixes/bash/accounts_password_pam_cracklib_ucredit.sh RHEL/6/input/profiles/* RHEL/6/input/system/accounts/pam.xml RHEL/7/input/profiles/rht-ccp.xml RHEL/7/input/system/accounts/pam.xml RHEVM3/input/profiles/stig-rhevm3.xml shared/oval/accounts_password_pam_cracklib_ucredit.xml
[shawnw@ssgdev-rhel7 scap-security-guide]$ git commit -a
Aborting commit due to empty commit message.
[shawnw@ssgdev-rhel7 scap-security-guide]$ git mv shared/oval/accounts_password_pam_cracklib_ucredit.xml shared/oval/accounts_password_pam_ucredit.xml
[shawnw@ssgdev-rhel7 scap-security-guide]$ git mv RHEL/6/input/fixes/bash/accounts_password_pam_cracklib_ucredit.sh RHEL/6/input/fixes/bash/accounts_password_pam_ucredit.sh
[shawnw@ssgdev-rhel7 scap-security-guide]$ cd RHEL/6/input/checks/
[shawnw@ssgdev-rhel7 checks]$ rm accounts_password_pam_cracklib_ucredit.xml
[shawnw@ssgdev-rhel7 checks]$ ln -s ../../../../shared/oval/accounts_password_pam_ucredit.xml .
[shawnw@ssgdev-rhel7 checks]$ cd ../../../7/input/checks/
[shawnw@ssgdev-rhel7 checks]$ ln -s ../../../../shared/oval/accounts_password_pam_ucredit.xml .
[shawnw@ssgdev-rhel7 checks]$ git commit -a
Aborting commit due to empty commit message.
[shawnw@ssgdev-rhel7 checks]$ git add ../../../6/input/checks/accounts_password_pam_ucredit.xml
[shawnw@ssgdev-rhel7 checks]$ git add accounts_password_pam_ucredit.xml
updated password_pam_ucredit OVAL for rhel7

testing
[shawnw@ssgdev-rhel7 oval]$ ./testcheck.py accounts_password_pam_ucredit.xml
external_variable with id : var_password_pam_ucredit
external_variable specified, but no value provided via environment variable
[shawnw@ssgdev-rhel7 oval]$ export var_password_pam_ucredit=-1
[shawnw@ssgdev-rhel7 oval]$ ./testcheck.py accounts_password_pam_ucredit.xml
external_variable with id : var_password_pam_ucredit
Evaluating with OVAL tempfile : /tmp/accounts_password_pam_ucredit2ZhlwH.xml
Writing results to : /tmp/accounts_password_pam_ucredit2ZhlwH.xml-results
Definition oval:scap-security-guide.testing:def:103: true
Definition oval:scap-security-guide.testing:def:101: false
Definition oval:scap-security-guide.testing:def:100: false
Evaluation done.
[shawnw@ssgdev-rhel7 oval]$ sudo vim /etc/pam.d/system-auth
[sudo] password for shawnw:
[shawnw@ssgdev-rhel7 oval]$ grep ucredit /etc/pam.d/system-auth
password    requisite     pam_pwquality.so try_first_pass local_users_only dcredit=-1 retry=3 authtok_type= ucredit=-1
[shawnw@ssgdev-rhel7 oval]$ ./testcheck.py accounts_password_pam_ucredit.xml
external_variable with id : var_password_pam_ucredit
Evaluating with OVAL tempfile : /tmp/accounts_password_pam_ucreditxH7iMW.xml
Writing results to : /tmp/accounts_password_pam_ucreditxH7iMW.xml-results
Definition oval:scap-security-guide.testing:def:103: true
Definition oval:scap-security-guide.testing:def:101: false
Definition oval:scap-security-guide.testing:def:100: true
Evaluation done.
[shawnw@ssgdev-rhel7 oval]$ export var_password_pam_ucredit=-3
[shawnw@ssgdev-rhel7 oval]$ ./testcheck.py accounts_password_pam_ucredit.xml
external_variable with id : var_password_pam_ucredit
Evaluating with OVAL tempfile : /tmp/accounts_password_pam_ucreditiyF0tc.xml
Writing results to : /tmp/accounts_password_pam_ucreditiyF0tc.xml-results
Definition oval:scap-security-guide.testing:def:103: true
Definition oval:scap-security-guide.testing:def:101: false
Definition oval:scap-security-guide.testing:def:100: false
Evaluation done.
[shawnw@ssgdev-rhel7 oval]$ export var_password_pam_ucredit=4
[shawnw@ssgdev-rhel7 oval]$ ./testcheck.py accounts_password_pam_ucredit.xml
external_variable with id : var_password_pam_ucredit
Evaluating with OVAL tempfile : /tmp/accounts_password_pam_ucreditFiGXzc.xml
Writing results to : /tmp/accounts_password_pam_ucreditFiGXzc.xml-results
Definition oval:scap-security-guide.testing:def:103: true
Definition oval:scap-security-guide.testing:def:101: false
Definition oval:scap-security-guide.testing:def:100: true
Evaluation done.
updated RHEL7 XCCDF of accounts_password_pam_ucredit

to reflect pam_pwquality
Merge branch 'accounts_password_pam_ucredit' of https://github.com/shawndwells/scap-security-guide into shawndwells-accounts_password_pam_ucredit

Conflicts:
	RHEL/6/input/profiles/CS2.xml
	RHEL/6/input/profiles/CSCF-RHEL6-MLS.xml
	RHEL/6/input/profiles/common.xml
	RHEL/6/input/profiles/fisma-medium-rhel6-server.xml
	RHEL/6/input/profiles/rht-ccp.xml
	RHEL/6/input/profiles/stig-rhel6-server-upstream.xml
	RHEL/6/input/profiles/usgcb-rhel6-server.xml
	RHEL/7/input/profiles/rht-ccp.xml
	RHEL/7/input/system/accounts/pam.xml
Merge of CCP profile
Merge branch 'shawndwells-accounts_password_pam_ucredit'