= How do I setup an suExec directory for a member? = Only MFPL admins have permission to take this step. If you would like suExec enabled for your site, please follow our [wiki:suexec suExec FAQ]. Run the following script, replacing $USER with the username provided by the member. {{{ # Ensure suexec is enabled (reload apache if necessary) user=$USER a2enmod suexec base=/var/www/members-cgi-bin if [ ! -d "$base" ]; then mkdir "$base"; fi sitepath=$(getent passwd | grep ^$user | cut -d: -f6 | cut -d/ -f1,2,3,4,5,6) site=$(echo "$sitepath" | cut -d/ -f6) group=$(echo "$sitepath" | cut -d/ -f4) if [ ! -d "$base/$site" ]; then mkdir "$base/$site"; fi chown "$user" "$base/$site" fi if [ ! -h "$sitepath/cgi-bin/suexec" ]; then ln -s "$base/$site" "$sitepath/cgi-bin/suexec" fi }}}