From 6bba75fa3e0b362bdd58656bad21f0530530fef3 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Tue, 24 May 2011 19:20:32 -0700 Subject: Add piny-suid-ified cgit cgi --- pinyweb/cgi-bin/auth/cgit | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 pinyweb/cgi-bin/auth/cgit 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' ); -- cgit v1.2.3