[stunnel-users] PPID of child process

Thomas Manson dev.mansonthomas at gmail.com
Sat Apr 7 01:42:48 CEST 2012


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20120407/82ae009d/attachment.html>


More information about the stunnel-users mailing list