title: How do I run shell commands in a CGI program as the nobody user?
body: <p>I want to run shell commands in a CGI program (written in Perl). My program doesn’t have root permission. It runs as nobody. I want to use this code: </p>
  
  <pre><code>use strict;
  system &lt;&lt;'EEE';
  awk '{a[$1]+=$2;b[$1]+=$3}END{for(i in a)print i, a[i], b[i]|"sort -nk 3"}' s.txt
  EEE
  </code></pre>
  
  <p>I can run my code successfully with perl from the command line but not as a CGI program.</p>