Lines Matching refs:FIND

45FIND=$(${GREPBINARY} ':0:' ${ROOTDIR}etc/passwd | ${EGREPBINARY} -v '^#|^admin:|^(\+:\*)?:0:0:::' …
47FIND=$(${GREPBINARY} ':0:' ${ROOTDIR}etc/passwd | ${EGREPBINARY} -v '^#|^root:|^(\+:\*)?:0:0:::' |…
49 if [ -n "${FIND}" ]; then
53 for USER in ${FIND}; do
82FIND=$(${GREPBINARY} -v '^#' ${PASSWD_FILE} | ${CUTBINARY} -d ':' -f3 | ${SORTBINARY} | uniq -d)
83 if [ "${FIND}" = "" ]; then
89 LogText "Output (non-unique UIDs): ${FIND}"
110 FIND=$(${ROOTDIR}usr/sbin/chkgrp | ${GREPBINARY} -v 'is fine')
111 if [ "${FIND}" = "" ]; then
117 LogText "chkgrp output: ${FIND}"
133 "AIX") FIND=$(${GRPCKBINARY} -n ALL 2> /dev/null ; echo $?) ;;
136 FIND=$(${GRPCKBINARY} -q -r > /dev/null ; echo $?)
138 FIND=$(${GRPCKBINARY} -r 2> /dev/null ; echo $?)
141 *) FIND=$(${GRPCKBINARY} 2> /dev/null ; echo $?) ;;
145 if [ "${FIND}" = "0" ]; then
152 unset FIND
166FIND=$(${GREPBINARY} "[a-z]:\*:" ${ROOTDIR}etc/master.passwd | ${EGREPBINARY} -v '^#|/sbin/nologin…
167 if [ -z "${FIND}" ]; then
171 for LINE in ${FIND}; do
206FIND=$(${GREPBINARY} -v '^#' ${ROOTDIR}etc/group | ${GREPBINARY} -v '^$' | ${AWKBINARY} -F: '{ pri…
207 if [ -z "${FIND}" ]; then
214 for I in ${FIND}; do
230FIND=$(${GREPBINARY} -v '^#' ${ROOTDIR}etc/group | ${GREPBINARY} -v '^$' | ${AWKBINARY} -F: '{ pri…
231 if [ -z "${FIND}" ]; then
238 for I in ${FIND}; do
258 FIND=$(${ROOTDIR}usr/sbin/pwck -q -r 2> /dev/null; echo $?)
262 FIND=$(${ROOTDIR}usr/sbin/pwck 2> /dev/null; echo $?)
271 if [ ${TESTED} -eq 1 -a "${FIND}" = "0" ]; then
337FIND=$(${CAT_BINARY} ${ROOTDIR}etc/passwd ${SHADOW} | ${AWKBINARY} -F : '{print length($2) ":" $2 …
340 if [ -z "${FIND}" ]; then
346 LogText "Result: poor password hashing methods found: ${FIND}"
414 FIND=""
419FIND=$(${AWKBINARY} -F: '($3 >= 100 && $3 != 65534) || ($3 == 0) { print $1","$3 }' /etc/passwd)
424FIND=$(${AWKBINARY} -F: '($3 >= 1000 && $3 != 65534) || ($3 == 0) { print $1","$3 }' /etc/passwd)
435FIND=$(${AWKBINARY} -v UID_MIN="${UID_MIN}" -F: '($3 >= UID_MIN && $3 != 65534) || ($3 == 0) { pri…
444 FIND="${FUSERNAME},${FDETAILS} ${FIND}"
447 FIND=""
465FIND=$(${AWKBINARY} -v UID_MIN="${UID_MIN}" -v UID_MAX="${UID_MAX}" -F: '($3 >= UID_MIN && $3 <= U…
470FIND=$(${AWKBINARY} -F: '($3 >= 100 && $3 != 60001 && $3 != 65534) || ($3 == 0) { print $1","$3 }'…
480 if [ -z "${FIND}" ]; then
486 for I in ${FIND}; do
502 FIND=$(${EGREPBINARY} "^passwd" /etc/nsswitch.conf | ${EGREPBINARY} "compat|nisplus")
503 if [ -z "${FIND}" ]; then
529FIND=$(${EGREPBINARY} "^passwd" /etc/nsswitch.conf | ${EGREPBINARY} "compat|nis" | ${GREPBINARY} -…
530 if [ -z "${FIND}" ]; then
586 FIND=$(${LSBINARY} -ld ${SUDOERS_D} | ${CUTBINARY} -c 2-10)
588 LogText "Result: Found directory permissions: ${FIND} and owner UID GID: ${FIND2}"
589 case "${FIND}" in
614 FIND=$(${LSBINARY} -l ${f} | ${CUTBINARY} -c 2-10)
616 LogText "Result: Found file permissions: ${FIND} and owner UID GID: ${FIND2}"
617 case "${FIND}" in
647 FIND=$(logins -p | ${AWKBINARY} '{ print $1 }')
648 if [ -z "${FIND}" ]; then
652 for I in ${FIND}; do
740FIND=$(${EGREPBINARY} -v "^#" ${ROOTDIR}etc/pam.conf | ${EGREPBINARY} -v "^$" | ${SEDBINARY} 's/[[…
741 if [ -z "${FIND}" ]; then
745 for LINE in ${FIND}; do
767 FIND=$(${FINDBINARY} ${ROOTDIR}etc/pam.d \! -name "*.pam-old" -type f -print | sort)
768 for FILE in ${FIND}; do
794 FIND=$(find ${DIR} -type f -name "pam_*.so" -print | sort)
796 FIND=$(find ${DIR} -maxdepth 1 -type f -name "pam_*.so" -print | sort)
798 if [ -n "${FIND}" ]; then FOUND=1; fi
799 for FILE in ${FIND}; do
814 unset DIR FILE FIND
829 FIND=$(${GREPBINARY} "^auth.*ldap" ${FILE})
830 if [ -n "${FIND}" ]; then
832 LogText "Output: ${FIND}"
972FIND=$(${GREPBINARY} "^PASS_MIN_DAYS" ${ROOTDIR}etc/login.defs | ${AWKBINARY} '{ if ($1=="PASS_MIN…
973 if [ -z "${FIND}" -o "${FIND}" = "0" ]; then
979 LogText "Result: password needs to be at least ${FIND} days old"
980 PASSWORD_MINIMUM_DAYS=${FIND}
986FIND=$(${GREPBINARY} "^PASS_MAX_DAYS" ${ROOTDIR}etc/login.defs | ${AWKBINARY} '{ if ($1=="PASS_MAX…
987 if [ -z "${FIND}" -o "${FIND}" = "99999" ]; then
993 LogText "Result: max password age is ${FIND} days"
994 PASSWORD_MAXIMUM_DAYS=${FIND}
1020FIND=$(${EGREPBINARY} -v ":[\!\*x]([\*\!])?:" /etc/shadow | ${AWKBINARY} -v today=${DAYS_SINCE_EPO…
1021 if [ -n "${FIND}" ]; then
1022 for ACCOUNT in ${FIND}; do
1050 FIND=$(${GREPBINARY} "^PASSREQ=NO" ${ROOTDIR}etc/default/sulogin)
1051 if [ -z "${FIND}" ]; then
1080 FIND=$(${GREPBINARY} "^:d_boot_authenticate@" /tcb/files/auth/system/default)
1081 if [ -z "${FIND}" ]; then
1112 FIND=$(${EGREPBINARY} "^[a-zA-Z0-9~]+:S:(respawn|wait):/sbin/sulogin" /etc/inittab)
1114 if [ -n "${FIND}" -o -n "${FIND2}" ]; then
1128 FIND=$(${GREPBINARY} "^SINGLE=/sbin/sulogin" ${ROOTDIR}etc/sysconfig/init)
1129 if [ -n "${FIND}" ]; then
1150 FIND=$(${EGREPBINARY} "^ExecStart=" ${FILE} | ${GREPBINARY} "sulogin")
1151 if [ "${FIND}" = "" ]; then
1197 FIND=$(ls ${ROOTDIR}etc/profile.d/* 2> /dev/null)
1198 if [ -n "${FIND}" ]; then
1200 for FILE in ${FIND}; do
1224FIND=$(${GREPBINARY} "umask" /etc/profile | ${SEDBINARY} 's/^[ \t]*//' | ${GREPBINARY} -v "^#" | $…
1232 …if [ ! "${FIND}" = "077" -a ! "${FIND}" = "027" -a ! "${FIND}" = "0077" -a ! "${FIND}" = "0027" ];…
1233 LogText "Result: found umask ${FIND}, which could be more strict"
1236 LogText "Result: found umask ${FIND}, which is fine"
1243 for I in ${FIND}; do
1282 FIND=$(${GREPBINARY} "umask=" /etc/passwd)
1283 if [ "${FIND}" = "" ]; then
1295 FIND=$(${GREPBINARY} "^UMASK" /etc/login.defs | ${AWKBINARY} '{ print $2 }')
1296 if [ "${FIND}" = "" ]; then
1301 … elif [ "${FIND}" = "077" -o "${FIND}" = "027" -o "${FIND}" = "0077" -o "${FIND}" = "0027" ]; then
1302 LogText "Result: umask is ${FIND}, which is fine"
1306 LogText "Result: found umask ${FIND}, which could be improved"
1320 FIND=$(${GREPBINARY} "^umask" /etc/init.d/functions | ${AWKBINARY} '{ print $2 }')
1321 if [ "${FIND}" = "" ]; then
1324 … elif [ "${FIND}" = "077" -o "${FIND}" = "027" -o "${FIND}" = "0077" -o "${FIND}" = "0027" ]; then
1325 LogText "Result: umask is ${FIND}, which is fine"
1329 LogText "Result: found umask ${FIND}, which could be improved"
1342 FIND=$(${GREPBINARY} -i "^UMASK" /etc/init.d/rc | ${AWKBINARY} '{ print $2 }')
1343 if [ "${FIND}" = "" ]; then
1348 … elif [ "${FIND}" = "077" -o "${FIND}" = "027" -o "${FIND}" = "0077" -o "${FIND}" = "0027" ]; then
1349 LogText "Result: umask is ${FIND}, which is fine"
1353 LogText "Result: found umask ${FIND}, which could be improved"
1367FIND=$(${GREPBINARY} "umask" /etc/login.conf | ${SEDBINARY} 's/#.*//' | ${SEDBINARY} -E 's/^[[:cnt…
1368 if [ ! "${FIND}" = "" ]; then
1369 for UMASK_VALUE in ${FIND}; do
1403 FIND=$(${GREPBINARY} -i "^exec " /etc/init.d/rcS | ${AWKBINARY} '{ print $2 }')
1404 if [ "${FIND}" = "" ]; then
1424 LogText "Output: ${FIND}"
1441 FIND=$(${GREPBINARY} "^LOCK_AFTER_RETRIES" /etc/security/policy.conf)
1442 if [ ! "${FIND}" = "" ]; then
1445 LogText "Output: ${FIND}"
1461 FIND=$(${GREPBINARY} "^RETRIES" ${ROOTDIR}etc/default/login)
1462 if [ -n "${FIND}" ]; then
1465 LogText "Output: ${FIND}"
1489 FIND=$(${EGREPBINARY} "^passwd" ${ROOTDIR}etc/nsswitch.conf | ${GREPBINARY} "ldap")
1490 if [ "${FIND}" = "" ]; then
1517 FIND=$(${EGREPBINARY} "^host " ${FILE} | ${AWKBINARY} '{ print $2 }')
1518 for SERVER in ${FIND}; do
1527 unset FILE FIND SERVER
1565FIND=$(${GREPBINARY} "^FAILLOG_ENAB" ${ROOTDIR}etc/login.defs | ${AWKBINARY} '{ if ($1=="FAILLOG_E…
1567 if [ "${FIND}" = "yes" ]; then
1620 FIND=$(ls -l ${DOAS_FILE} | ${CUTBINARY} -c 2-10)
1621 LogText "Result: Found /etc/doas.conf file permissions: ${FIND}"
1622 case "${FIND}" in