summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/auth
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-05-24 19:20:32 -0700
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-05-24 19:20:32 -0700
commit6bba75fa3e0b362bdd58656bad21f0530530fef3 (patch)
tree1276f7e73899e7a848e818a889ad634bc49a8dc4 /pinyweb/cgi-bin/auth
parent7de8f567d72e1322dac65c4e197f5593777e93d8 (diff)
downloadpiny-code-6bba75fa3e0b362bdd58656bad21f0530530fef3.tar.gz
piny-code-6bba75fa3e0b362bdd58656bad21f0530530fef3.zip
Add piny-suid-ified cgit cgi
Diffstat (limited to 'pinyweb/cgi-bin/auth')
-rwxr-xr-xpinyweb/cgi-bin/auth/cgit6
1 files changed, 6 insertions, 0 deletions
diff --git a/pinyweb/cgi-bin/auth/cgit b/pinyweb/cgi-bin/auth/cgit
new file mode 100755
index 0000000..f308bf6
--- /dev/null
+++ b/pinyweb/cgi-bin/auth/cgit
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+$| = 1;
+
+use warnings;
+
+system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'cgit' );