[stunnel-users] PPID of child process

Philip Wong hochit at gmail.com
Sat Apr 7 12:38:49 CEST 2012


Hi Thomas,

Thanks for your reply.

Can we set child processes with correct PPID?

Regards,
Philip 

On 7 Apr, 2012, at 7:42 AM, Thomas Manson wrote:

> 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 at 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 at stunnel.org
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
> 




More information about the stunnel-users mailing list