]> mj.ucw.cz Git - suidgw.git/blobdiff - Makefile
Makefile: test-setup target
[suidgw.git] / Makefile
index 9b11b9e7415c60b53cdca95a930478db17eb8a9f..9d2a584419d3a16d425960d3888eeef4117794db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,11 @@ all: suidgw
 
 suidgw: suidgw.c
 
+test-setup:
+       chown root.root suidgw
+       chmod u+s suidgw
+       chown testuser.nogroup scripts/quork
+       chmod ug+s scripts/quork
+
 clean:
        rm -f suidgw *.o