Cgi-bin scripts get run without a user?
问题 I'm running a binary that requires a license key to reside in the user's home directory. I'm making a cgi script that calls upon this binary and everything is happy when I execute the script from the command line using sudo -u www-data binary. However, when I run the cgi script from the web, the binary can't find the license key. The apache error log states: License key "(null)/.key" not found., referer: Does this mean that cgi scripts are executed without any user attached for security