summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/auth/lsrepo.cgi
blob: 3513b5fab7695d2ba3ae4043dfbe13004a2b2f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl
$| = 1;

open(STDERR, ">&STDOUT");

use warnings;

use CGI;

use IPC::Open2;

#$q = CGI->new;

print( "Content-type: text/plain\n\n");

unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'lsrepo' ) == 0 ) {
  die( 'lsrepo was unsuccessful.' );
};