Index: /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/antinstall-config-component.xml
===================================================================
--- /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/antinstall-config-component.xml (revision 7032)
+++ /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/antinstall-config-component.xml (working copy)
@@ -66,7 +66,7 @@
+ validationClass="com.enginframe.install.antinstaller.validator.UserValidator"/>
Index: /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/build-component.xml
===================================================================
--- /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/build-component.xml (revision 7032)
+++ /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/build-component.xml (working copy)
@@ -4,59 +4,61 @@
-->
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
-
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
Index: /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/resources/scripts/efcheckpassword
===================================================================
--- /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/resources/scripts/efcheckpassword (revision 7032)
+++ /Users/andreac/Documents/workspace/enginframe/plugins/certified/os/trunk/etc/antinstall/resources/scripts/efcheckpassword (working copy)
@@ -16,9 +16,7 @@
#-----------------------------------------------------------------------
# Try to check the password of a user.
# $1: ${EF_ROOT}/etc/checkpassword
-# $2: user
-# $3: passwd
-# $4: efadmin
+# $2: efadmin
#
# returns:
# 0: success
@@ -34,9 +32,7 @@
fi
_checkpasswdpath=$1
-_user=$2
-_passwd=$3
-_efadmin=$4
+_efadmin=$2
# try to find the approriate checkpassword. $0 is the path
_my_checkpassword="${_checkpasswdpath}.`uname`.`uname -m`"
@@ -47,8 +43,7 @@
exit 2
fi
-su - "${_efadmin}" -c "/bin/sh -c \"printf '%s\0%s\0' '${_user}' '${_passwd}' \
-| ${_my_checkpassword} /bin/sleep 0 3<&0\"" <"/dev/null" >"/dev/null" 2>&1
+cat - | su - "${_efadmin}" -c "/bin/sh -c \"${_my_checkpassword} /bin/sleep 0 3<&0\"" >"/dev/null" 2>&1
_ret="$?"