|
You could well write a script which, say,
placed the domain in a text database somewhere (like /var/run,
or other similar place) and then a cron to run as root and vadddomain
the domains in that file, then clear the file afterwards… Both apache and php
have setuid functionality built into them, however
the httpd would have to be run as uid0 (correct me if
I am wrong, please) for the php setuids
to work – and I haven’t researched the setuid cgi execution in apache much at all… I suggest the php+cron method of implementation – personally… Just one mans humble opinion.. -----Original Message----- Hello: I am now using APACHE/PHP + vpopmail +
qmail to write a script for add domains in vpopmail , but when i execute the
command, it return Segmentation fault (core dumped), is that i can't use PHP to write this? My
apache is now run as vpopmail.vchkpw. Jacky |
- Segmentation fault (core dumped) Leonard Cooper
- OFF LIST Dan
- RE: Segmentation fault (core dumped) Leonard Cooper
- RE: Segmentation fault (core dumped) Ken Jones
- RE: Segmentation fault (core dumped) Leonard Cooper
- RE: Segmentation fault (core dumped) Ken Jones
- RE: Segmentation fault (core dumped) Philip Wall
- Segmentation fault (core dumped) Jacky Hung
- Demitrious S. Kelly
