Run user programs as nobody:nogroup
[gruntmaster-daemon.git] / ex / makevm
index c1d8c02..c054cf1 100755 (executable)
--- a/ex/makevm
+++ b/ex/makevm
@@ -25,7 +25,7 @@ squashfs
 9pnet_virtio
 EOF
 install gruntmaster-exec gruntmaster-compile vm/usr/bin/
-sed -i -e "s/setgid 65534/setgid $GROUP/" -e "s/setuid 65534/setuid $USER/" vm/usr/bin/gruntmaster-exec
+sed -i -e "s/USER => 65534/USER => $USER/" -e "s/GROUP => 65534/GROUP => $GROUP/" vm/usr/bin/gruntmaster-exec
 chroot vm update-initramfs -d -k 3.2.0-4-amd64
 chroot vm update-initramfs -c -k 3.2.0-4-amd64
 umount vm/proc
This page took 0.021181 seconds and 4 git commands to generate.