Hi,
CONTEXT 1 : I need apache to run as the cpanel user
CONTEXT 2 : I need to do some shell_exec('ssh user@remotepi....')
CONTEXT 3 : Cloudflare Argo tunnel is installed on 1 domain => this domain makes apache run as 'nobody'
DETAILS :
For all my domains (except 1) : when I do shell_exec('whoami'); => I get the cpanel user related to the domain.
I installed the apache mod_ruid2 => domain x => apache runs as cpanel user x, domain y => apache runs as cpanel user y,
I need to perform shell_exec with ssh [email protected].....
the user "nobody" don't have a .ssh
I followed the instructions on this page https://developers.cloudflare.com/c...s/connect-apps/install-and-setup/tunnel-guide
Since I did this, any requests from a normal browser => goes to cloudflare => argo stuff => hit the /var/www/html => apache runs as "nobody"
QUESTION 1 : how do I change the default user for apache to run (for domains that dont have a related cpanel user) ?
OR QUESTION 2 : how can I configure cloudflare argo to "run" as a cpanel user ???
CONTEXT 1 : I need apache to run as the cpanel user
CONTEXT 2 : I need to do some shell_exec('ssh user@remotepi....')
CONTEXT 3 : Cloudflare Argo tunnel is installed on 1 domain => this domain makes apache run as 'nobody'
DETAILS :
For all my domains (except 1) : when I do shell_exec('whoami'); => I get the cpanel user related to the domain.
I installed the apache mod_ruid2 => domain x => apache runs as cpanel user x, domain y => apache runs as cpanel user y,
I need to perform shell_exec with ssh [email protected].....
the user "nobody" don't have a .ssh
I followed the instructions on this page https://developers.cloudflare.com/c...s/connect-apps/install-and-setup/tunnel-guide
Since I did this, any requests from a normal browser => goes to cloudflare => argo stuff => hit the /var/www/html => apache runs as "nobody"
QUESTION 1 : how do I change the default user for apache to run (for domains that dont have a related cpanel user) ?
OR QUESTION 2 : how can I configure cloudflare argo to "run" as a cpanel user ???