[stunnel-users] About stunnel 4.21 daemon mode

wei hu huwei.china at gmail.com
Wed Nov 28 07:08:37 CET 2007

Dear Scott

  Your reply is really helpful.
  I change the relevant config file as:

  setuid = 99
  setgid = 99

  Then the deamon and the remote connection is O.K.
  Thank you very much.

  Best Regards,


> I don't remember exactly how the latest stunnel does chroot, but a
> common problem is that a daemon will chroot before looking up the user
> and group names, and if the chroot area doesn't contain /etc/passwd
> and /etc/group, the lookups fail.
> An easy solution is to use numeric UIDs and GIDs in your
> configuration.
> Hope this helps,
> ----Scott.

More information about the stunnel-users mailing list