diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-05-24 19:20:32 -0700 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-05-24 19:20:32 -0700 |
commit | 6bba75fa3e0b362bdd58656bad21f0530530fef3 (patch) | |
tree | 1276f7e73899e7a848e818a889ad634bc49a8dc4 /pinyweb | |
parent | 7de8f567d72e1322dac65c4e197f5593777e93d8 (diff) | |
download | piny-code-6bba75fa3e0b362bdd58656bad21f0530530fef3.tar.gz piny-code-6bba75fa3e0b362bdd58656bad21f0530530fef3.zip |
Add piny-suid-ified cgit cgi
Diffstat (limited to 'pinyweb')
-rwxr-xr-x | pinyweb/cgi-bin/auth/cgit | 6 |
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' ); |