29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
|
ALL ALL=(root) NOPASSWD: /bin/chmod * /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/dd of=/tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/ln -sf * /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mkdir -p /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mkdir /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount --bind /dev /tmp/*/mnt/dev
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount --bind /tmp/*/hooks /tmp/*/mnt/tmp/in_target.d
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount -o remount\,ro\,bind /tmp/*/hooks /tmp/*/mnt/tmp/in_target.d
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount -t proc none /tmp/*/mnt/proc
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount -t sysfs none /tmp/*/mnt/sys
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mount /dev/nbd0p1 /tmp/*/mnt
|
||
|
ALL ALL=(root) NOPASSWD: /bin/mv /tmp/*/mnt/* /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/rm -* /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/rmdir /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/tar -C /tmp/*/mnt -xzf /*/.cache/image-create/*
|
||
|
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt
|
||
|
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/dev
|
||
|
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/proc
|
||
|
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/sys
|
||
|
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/tmp/in_target.d
|
||
|
ALL ALL=(root) NOPASSWD: /sbin/mkfs -F -t ext4 -L cloudimg-rootfs /dev/nbd0p1
|
||
|
ALL ALL=(root) NOPASSWD: /sbin/modprobe nbd max_part=16
|
||
|
ALL ALL=(root) NOPASSWD: /sbin/sfdisk /dev/nbd0
|
||
|
ALL ALL=(root) NOPASSWD: /usr/bin/qemu-nbd -c /dev/nbd0 --cache=writeback /tmp/*/image
|
||
|
ALL ALL=(root) NOPASSWD: /usr/bin/qemu-nbd -d /dev/nbd0
|
||
|
ALL ALL=(root) NOPASSWD: /usr/bin/touch /tmp/*/mnt/*
|
||
|
ALL ALL=(root) NOPASSWD: /usr/bin/unlink /tmp/*/mnt/*
|
||
|
ALL ALL=(root) SETENV: NOPASSWD: /usr/sbin/chroot /tmp/*/mnt *
|