Hi Philip,
use this :
setuid = stunnel4 setgid = stunnel4
where stunnel4 is the name of the user you want the process to be run with.
Regards, Thoms.
On Mon, Apr 2, 2012 at 17:54, Philip Wong hochit@gmail.com wrote:
Hi,
I’m trying to setup stunnel listening to multiple ports. The PPID of processes created are always root. Can we change that to the right PPID?
Here I can see all the processes by killing 10764 and I expect this is the PPID. But all the children PPID are still 1;
UID PID PPID C STIME TTY TIME CMD philwong 10759 1 0 16:27 pts/78 00:00:00 stunnel self.conf philwong 10760 1 0 16:27 pts/78 00:00:00 stunnel self.conf philwong 10761 1 0 16:27 pts/78 00:00:00 stunnel self.conf philwong 10762 1 0 16:27 pts/78 00:00:00 stunnel self.conf philwong 10763 1 0 16:27 pts/78 00:00:00 stunnel self.conf philwong 10764 1 0 16:27 ? 00:00:00 stunnel self.conf
Regards, Philip _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users