summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' );