Run the Apache web server as an Asterisk user
With Asterisk installed on Ubuntu, execute the following from the command line.
1 2 sed -i 's!^export APACHE_RUN_USER=www-data!export APACHE_RUN_USER=asterisk!' /etc/apache2/envvars 3 sed -i 's!^export APACHE_RUN_GROUP=www-data!export APACHE_RUN_GROUP=asterisk!' /etc/apache2/envvars
Source: TheGoldFish.net Blog » Blog Archive » Asterisk with FreePBX on Ubuntu 7.04 Desktop Tutorial [thegoldfish.net]