diff --git a/include/tests_authentication b/include/tests_authentication index c5c71eee..c3c072f5 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -488,15 +488,15 @@ "NetBSD"|"OpenBSD") if [ -f ${ROOTDIR}etc/usermgmt.conf ]; then - UID_RANGE=$(${GREPBINARY} "^range" ${ROOTDIR}etc/usermgmt.conf | ${AWKBINARY} '{ sub(/\.\./, "-", $2); print $2 }') + UID_RANGE=$(${GREPBINARY} "^range" ${ROOTDIR}etc/usermgmt.conf | ${AWKBINARY} '{ sub(/\.\./, "-", $2); print $2 }') fi - if [ -n "${UID_RANGE}" ]; then + if [ -n "${UID_RANGE}" ]; then LogText "Result: found configured user id range specified: ${UID_RANGE}" UID_MIN=$(echo $UID_RANGE | ${AWKBINARY} -F- '{ print $1 }') UID_MAX=$(echo $UID_RANGE | ${AWKBINARY} -F- '{ print $2 }') else UID_MIN=1000 - UID_MAX=60000 + UID_MAX=60000 LogText "Result: no configured user id range specified; using default ${UID_MIN}-${UID_MAX}" fi LogText "${OS} real users output (ID = 0, or ${UID_MIN}-${UID_MAX}, but not 32767):"