Discussion in 'General' started by alexillsley, Apr 27, 2007.
----- expired ----
Did you run the PHP script as root? You need root privileges to restart Proftpd.
How exactly did you call it? Did you use ISPConfig's Apache (port 81) for it? It runs under the user admispconfig, not root.
ISPConfig uses the /root/ispconfig/sv/ispconfig_wconf process to run things as root user.
Do i just rename my file: /home/admispconfig/ispconfig/.run then run that script above?
Why dont you use the usual mechanisms in ISPConfig? It's is not a good idea to run scripts that need root priveliges directly from the ISPConfig interface. ISPConfig is split in a server part taht runs with root priveliges and the interface that is run under the unpriveliged admispconfig user.
Separate names with a comma.