Home
last modified time | relevance | path

Searched full:sudo (Results 1 – 25 of 190) sorted by relevance

12345678

/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-3-deps.sh11 sudo btrfs filesystem resize max /
12 sudo pacman -Syu --noconfirm
16 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \
27 sudo apt-get update -y
28 sudo apt-get upgrade -y
32 sudo apt-get install -y \
49 sudo pkg install -y autoconf automake autotools base64 checkbashisms fio \
52 sudo pkg install -xy \
63 echo "max_parallel_downloads=10" | sudo -E tee -a /etc/dnf/dnf.conf
64 sudo dnf clean all
[all …]
H A Dqemu-1-setup.sh11 sudo apt-get -y update
12 sudo apt-get install -y axel cloud-image-utils daemonize guestfs-tools \
20 cat << EOF | sudo tee /etc/ksmtuned.conf > /dev/null
40 sudo systemctl restart ksm
41 sudo systemctl restart ksmtuned
44 sudo systemctl stop docker.socket
45 sudo systemctl stop multipathd.socket
48 sudo swapoff -a
49 sudo umount -l /mnt
51 sudo sed -e "s|^$DISK.*||g" -i /etc/fstab
[all …]
H A Dqemu-5-setup.sh15 sudo virsh undefine openzfs
39 sudo zfs snapshot zpool/openzfs@now
48 sudo zfs clone zpool/openzfs@now zpool/vm$i
49 sudo zfs create -ps -b 64k -V 80g zpool/vm$i-2
60 sudo: ALL=(ALL) NOPASSWD:ALL
71 sudo virsh net-update default add ip-dhcp-host \
74 sudo virt-install \
103 sudo chmod +x cronjob.sh
104 sudo mv -f cronjob.sh /root/cronjob.sh
106 sudo crontab crontab.txt
[all …]
H A Dqemu-6-tests.sh75 sudo kldstat -n zfs 2>/dev/null && sudo kldunload zfs
76 sudo -E ./zfs/scripts/zfs.sh
81 sudo mv -f /var/tmp/*.txt /tmp
82 sudo mkfs.xfs -fq /dev/vdb
83 sudo mount -o noatime /dev/vdb /var/tmp
84 sudo chmod 1777 /var/tmp
85 sudo mv -f /tmp/*.txt /var/tmp
86 sudo -E modprobe zfs
97 sudo dmesg -c > dmesg-prerun.txt
H A Dqemu-2-start.sh41 echo "89.187.191.12 geo.mirror.pkgbuild.com" | sudo tee /etc/hosts > /dev/null
155 sudo mkdir -p "/mnt/tests"
156 sudo chown -R $(whoami) /mnt/tests
172 sudo zfs create -ps -b 64k -V 80g zpool/openzfs
175 sudo qemu-img dd -f qcow2 -O raw if=$IMG of=$DISK bs=4M
188 sudo: ALL=(ALL) NOPASSWD:ALL
199 sudo virsh net-update default add ip-dhcp-host \
202 sudo virt-install \
H A Dqemu-4-build.sh45 run sudo gmake install
67 run sudo make install
86 run sudo dnf -y --nobest install $(ls *.rpm | grep -v src.rpm)
112 run sudo apt-get -y install $(find ../ | grep -E '\.deb$' \
151 sudo cloud-init clean --logs
152 sync && sleep 2 && sudo poweroff &
/freebsd/usr.sbin/bsdconfig/share/
H A Dmustberoot.subr44 # sudo(8) failure and exit.
53 # Unless using a custom sudo(8) configuration, user `root' should not be
70 # If not running as root, prompt for sudo(8) credentials to become root.
71 # Re-execution of the current program via sudo is automatically handled.
85 f_have sudo || f_die 1 "$msg_must_be_root_to_execute" "$pgm"
88 # Ask the user if it's OK to become root via sudo(8) and give them
127 1) # Always try sudo(8) when run as $user
134 # This user has created the path signing-off on sudo(8)-use
142 # Check sudo(8) access before prompting for password.
144 :| sudo -S -v 2> /dev/null
[all …]
/freebsd/crypto/openssh/.github/
H A Dsetup_ci.sh38 if [ ! -z "$SUDO" ]; then
42 if ! "$SUDO" -u nobody test -x ~; then
46 # Some of the Mac OS X runners don't have a nopasswd sudo rule. Regular
47 # sudo still works, but sudo -u doesn't. Restore the sudo rule.
48 if ! "$SUDO" grep -E 'runner.*NOPASSWD' /etc/passwd >/dev/null; then
50 echo 'runner ALL=(ALL) NOPASSWD: ALL' |$SUDO tee -a /etc/sudoers
52 if ! "$SUDO" -u nobody -S test -x ~ </dev/null; then
53 echo "Still can't sudo to nobody."
161 sudo apt update -qq
162 sudo apt install -qy software-properties-common
[all …]
H A Drun_test.sh5 [ -z "${SUDO}" ] || ${SUDO} mkdir -p /var/empty
10 if [ ! -z "$SUDO" ] && [ ! -z "$TEST_SSH_HOSTBASED_AUTH" ]; then
12 hostname | $SUDO tee $sshconf/shosts.equiv >/dev/null
13 echo "EnableSSHKeysign yes" | $SUDO tee $sshconf/ssh_config >/dev/null
14 $SUDO mkdir -p $sshconf
15 $SUDO cp -p /etc/ssh/ssh_host*key* $sshconf
16 $SUDO make install
19 $SUDO tee -a $sshconf/ssh_known_hosts >/dev/null
H A Dconfigs16 unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
21 SUDO=sudo # run with sudo by default
295 SUDO=""
313 # No sudo on Windows.
314 SUDO=""
321 SUDO=""
336 # sudo -S nobody doesn't work on macos 13 for some reason.
371 export CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzfs-tests.yml16 sudo apt-get update
17 sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \
37 sudo dpkg -i *.deb
40 sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf
41 sudo depmod
42 sudo modprobe zfs
50 sudo dmesg > $RESULTS_PATH/dmesg
51 sudo cp /var/log/syslog $RESULTS_PATH/
52 sudo chmod +r $RESULTS_PATH/*
H A Dzloop.yml22 sudo apt-get purge -y snapd google-chrome-stable firefox
38 sudo make install
39 sudo depmod
40 sudo modprobe zfs
43 sudo mkdir -p $TEST_DIR
46 sudo /usr/share/zfs/zloop.sh -t 600 -I 6 -l -m 1 -- -T 120 -P 60
50 sudo chmod +r -R $TEST_DIR/
/freebsd/crypto/openssh/regress/
H A Dagent-getpeereid.sh21 case "x$SUDO" in
22 xsudo) sudo=1;;
25 skip "need SUDO to switch to uid $UNPRIV" ;;
27 skip "unsupported $SUDO - "doas" and "sudo" are allowed" ;;
43 if test -z "$sudo" ; then
45 ${SUDO} -n -u ${UNPRIV} ${SSHADD} -l 2>/dev/null
47 # sudo
48 < /dev/null ${SUDO} -S -u ${UNPRIV} ${SSHADD} -vvv -l >>$OBJ/ssh-add.log 2>&1
H A Dagent-ptrace.sh34 if test -z "$SUDO" ; then
35 echo "skipped (SUDO not set)"
38 $SUDO chown 0 ${SSHAGENT}
39 $SUDO chgrp 0 ${SSHAGENT}
40 $SUDO chmod 2755 ${SSHAGENT}
41 trap "$SUDO chown ${USER} ${SSHAGENT}; $SUDO chmod 755 ${SSHAGENT}" 0
H A Dcfgparse.sh12 # will fail if we're not running with SUDO (no permissions for real keys) or
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 | \
H A Dsftp-chroot.sh9 trap "${SUDO} rm -f ${PRIVDATA}" 0
11 if [ -z "$SUDO" -a ! -w /var/run ]; then
12 skip "need SUDO to create file in /var/run, test won't work without"
19 $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \
40 $SUDO sh -c "echo orpheanbeholder > $PRIVDATA" || \
H A Dkeys-command.sh6 if [ -z "$SUDO" -a ! -w /var/run ]; then
7 skip "need SUDO to create file in /var/run, test won't work without"
21 trap "${SUDO} rm -f ${KEY_COMMAND}" 0
22 cat << _EOF | $SUDO sh -c "rm -f '$KEY_COMMAND' ; cat > '$KEY_COMMAND'"
36 $SUDO chmod 0755 "$KEY_COMMAND"
40 $SUDO rm -f $KEY_COMMAND
H A Dreconfigure.sh26 PID=`$SUDO cat $PIDFILE`
28 $SUDO kill -HUP $PID
48 PID=`$SUDO cat $PIDFILE`
50 $SUDO kill -HUP $PID
/freebsd/contrib/libcbor/.circleci/
H A Dconfig.yml6 - run: sudo apt-get update
8 - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake ${TOOLCHAIN_PACKAGES}
9 - run: sudo NEEDRESTART_MODE=l apt-get install -y libcmocka-dev libcjson-dev
43 - run: sudo NEEDRESTART_MODE=l apt-get install -y clang-format doxygen cppcheck
72 - run: sudo NEEDRESTART_MODE=l apt-get install -y valgrind
102 - run: sudo apt-get update
103 - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake gcc-multilib g++-multilib libc6-dev-i386
110 sudo make install
168 - run: sudo apt install apt-transport-https curl gnupg
170 - run: sudo m
[all...]
/freebsd/contrib/unifdef/
H A D.travis.yml3 sudo: false
15 ## Ubuntu 14.04 Trusty (beta), sudo required!
18 sudo: required
23 sudo: required
28 sudo: required
37 sudo apt-get -qq update &&
38 sudo apt-get -qq install wine;
/freebsd/tests/sys/cddl/zfs/tests/delegate/
H A Dzfs_allow_test.sh31 atf_set "require.progs" "ksh93 zfs sudo"
57 atf_set "require.progs" "ksh93 zfs sudo"
83 atf_set "require.progs" "ksh93 zfs sudo"
109 atf_set "require.progs" "ksh93 zfs sudo"
135 atf_set "require.progs" "ksh93 zfs sudo"
161 atf_set "require.progs" "ksh93 zfs sudo"
187 atf_set "require.progs" "ksh93 zfs sudo"
213 atf_set "require.progs" "ksh93 zfs sudo"
239 atf_set "require.progs" "ksh93 zfs sudo"
265 atf_set "require.progs" "ksh93 zfs sudo"
[all …]
H A Dzfs_unallow_test.sh31 atf_set "require.progs" "ksh93 zfs sudo"
57 atf_set "require.progs" "ksh93 zfs sudo"
83 atf_set "require.progs" "ksh93 zfs sudo"
109 atf_set "require.progs" "ksh93 zfs sudo"
135 atf_set "require.progs" "ksh93 zfs sudo"
161 atf_set "require.progs" "ksh93 zfs sudo"
187 atf_set "require.progs" "ksh93 zfs sudo"
213 atf_set "require.progs" "ksh93 zfs sudo"
/freebsd/sys/contrib/openzfs/scripts/
H A Dzfs-tests.sh90 sudo "${LOSETUP}" -d -u "${TEST_LOOPBACK}" ||
99 DM_DEV=$(sudo "${DMSETUP}" ls 2>/dev/null | \
103 sudo "${DMSETUP}" remove "${DM_DEV}" ||
108 sudo "${LOSETUP}" -d "${TEST_LOOPBACK}" ||
151 TEST_LOOPBACKS=$(sudo "${LOSETUP}" -l)
162 sudo env ASAN_OPTIONS=detect_leaks=false "$ZPOOL" destroy "${TEST_POOL}"
166 msg "Removing all dm(s): $(sudo "${DMSETUP}" ls |
168 sudo "${DMSETUP}" remove_all
175 sudo "${LOSETUP}" -d -u "${TEST_LOOPBACK}"
177 sudo "${LOSETUP}" -d "${TEST_LOOPBACK}"
[all …]
/freebsd/contrib/libfido2/
H A DREADME.adoc57 $ sudo dnf install libfido2 libfido2-devel fido2-tools
61 $ sudo apt install libfido2-1 libfido2-dev libfido2-doc fido2-tools
68 $ sudo apt install software-properties-common
69 $ sudo apt-add-repository ppa:yubico/stable
70 $ sudo apt update
71 $ sudo apt install libfido2-1 libfido2-dev libfido2-doc fido2-tools
99 $ sudo make -C build install
/freebsd/contrib/kyua/admin/
H A Dtravis-install-deps.sh39 sudo dpkg --add-architecture i386
48 sudo apt-get update -qq
49 sudo apt-get install -y ${packages}
55 sudo tar -xzvp -C / -f "${name}"
60 sudo apt-get install -y doxygen

12345678