Searched refs:SUDO (Results 1 – 18 of 18) sorted by relevance
20 ($SUDO ${SSHD} -T -f $OBJ/sshd_config_minimal >$OBJ/sshd_config.1 &&21 $SUDO ${SSHD} -T -f $OBJ/sshd_config.1 >$OBJ/sshd_config.2 &&25 ($SUDO ${SSHD} -T -f $OBJ/sshd_config >$OBJ/sshd_config.1 &&26 $SUDO ${SSHD} -T -f $OBJ/sshd_config.1 >$OBJ/sshd_config.2 &&53 ($SUDO ${SSHD} -T -f $OBJ/sshd_config.1 | \69 ($SUDO ${SSHD} -T -f $OBJ/sshd_config.1 | \
6 if [ -z "$SUDO" -a ! -w /var/run ]; then23 cat << _EOF | $SUDO sh -c "rm -f '$KEY_COMMAND' ; cat > '$KEY_COMMAND'"37 $SUDO chmod 0755 "$KEY_COMMAND"41 $SUDO rm -f $KEY_COMMAND82 $SUDO rm -f $KEY_COMMAND
16 case "x$SUDO" in23 echo "unsupported $SUDO - "doas" and "sudo" are allowed"42 ${SUDO} -n -u ${UNPRIV} ${SSHADD} -l 2>/dev/null45 < /dev/null ${SUDO} -S -u ${UNPRIV} ${SSHADD} -l 2>/dev/null
34 if test -z "$SUDO" ; then38 $SUDO chown 0 ${SSHAGENT}39 $SUDO chgrp 0 ${SSHAGENT}40 $SUDO chmod 2755 ${SSHAGENT}
10 if [ -z "$SUDO" -a ! -w /var/run ]; then20 $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \31 $SUDO rm $PRIVDATA
9 if [ -z "$SUDO" -a ! -w /var/run ]; then34 cat << _EOF | $SUDO sh -c "cat > '$PRINCIPALS_COMMAND'"49 $SUDO chmod 0755 "$PRINCIPALS_COMMAND"54 $SUDO rm -f $PRINCIPALS_COMMAND
91 if [ ! -z "$SUDO" ]; then98 $SUDO chown root ${DIR2}/copy100 $SUDO diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"101 $SUDO rm ${DIR2}/copy
14 test -z "${SUDO}" || ${SUDO} rm -f ${SUDO_CLEAN}202 …(env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDI…209 …(env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDI…
28 PID=`$SUDO cat $PIDFILE`30 $SUDO kill -HUP $PID
299 pid=`$SUDO cat $PIDFILE`306 $SUDO kill $pid488 $SUDO cp $OBJ/$t $OBJ/host.$t548 …echo proxycommand ${SUDO} sh ${SRC}/sshd-log-wrapper.sh ${TEST_SSHD_LOGFILE} ${SSHD} -i -f $OBJ/ss…557 $SUDO ${SSHD} -f $OBJ/sshd_config "$@" -t || fatal "sshd_config broken"558 $SUDO ${SSHD} -f $OBJ/sshd_config "$@" -E$TEST_SSHD_LOGFILE
158 b=`$SUDO ${SSHD} -T -o "rekeylimit $size $time" -f $OBJ/sshd_proxy | \160 s=`$SUDO ${SSHD} -T -o "rekeylimit $size $time" -f $OBJ/sshd_proxy | \
21 cmd="$SUDO sh ${SRC}/sshd-log-wrapper.sh ${TEST_SSHD_LOGFILE} ${SSHD} -i -f $OBJ/sshd_proxy"
43 $SUDO cp $OBJ/$t $OBJ/host.$t
23 SUDO: path to sudo command, if desired. Note that some systems (notably
17 SUDO=${SUDO:-/usr/bin/sudo}37 echo "With --sudo, touches the installed file via $SUDO."65 x--sudo) sudo=$SUDO ;;
10 SUDO=15 $SUDO rm -rf $TMPDIR92 $SUDO chown -Rh root:root $TMPDIR/*109 SUDO=sudo
10 SUDO=
1268 Use $SUDO to read pidfile in case root's umask is2054 is already root, the test should not expect that SUDO is set. If ssh needs8210 skip, rather than fatal when run without SUDO set8230 make this work without SUDO set; ok dtucker@