The check for single user password changed from RHEL 5 to 6.
The prose is correct and does not need and update
Signed-off-by: Joe Nall <joe(a)nall.com>
---
rhel6/src/input/checks/singleuser_password.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/rhel6/src/input/checks/singleuser_password.xml b/rhel6/src/input/checks/singleuser_password.xml
index 3cb78b2..990c75e 100644
--- a/rhel6/src/input/checks/singleuser_password.xml
+++ b/rhel6/src/input/checks/singleuser_password.xml
@@ -18,15 +18,15 @@
</definition>
<ind:textfilecontent54_test check="all"
check_existence="all_exist"
- comment="Tests the value of the ~~:S:wait:/sbin/sulogin setting in the /etc/inittab file"
+ comment="Tests for existence of SINGLE=/sbin/sulogin in the /etc/sysconfig/init file"
id="test_20096" version="1">
<ind:object object_ref="obj_73" />
</ind:textfilecontent54_test>
<ind:textfilecontent54_object id="obj_73"
version="1">
- <ind:path>/etc</ind:path>
- <ind:filename>inittab</ind:filename>
- <ind:pattern operation="pattern match">~:S:wait:/sbin/sulogin</ind:pattern>
+ <ind:path>/etc/sysconfig</ind:path>
+ <ind:filename>init</ind:filename>
+ <ind:pattern operation="pattern match">^SINGLE=/sbin/sulogin$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
</def-group>
--
1.7.1