On 06/Apr/10 08:31, Mark Constable wrote: > #include<unistd.h> > int main (int argc, char *argv[]) > { > setuid(geteuid()); > execl("/bin/sh","sh","/path/to/script.sh",argv[1],argv[2],NULL); > return 0; > }
I posted a slightly expanded version of the code above in http://www.mail-archive.com/courier-users@lists.sourceforge.net/msg27715.html . At any rate, virtual domains apparently work well even without SUID. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users