Apache runs as "nobody" for non cpanel users... how to change this?
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 user@remote.ip.....
the user "nobody" don't have a .ssh
I followed the instructions on this page
Please sign in to leave a comment.
Comments
0 comments