#!/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.' ); };