[stunnel-users] running SWAT through stunnel and uid/gid question

Wayne Sherman wsherman at gmail.com
Sun Feb 24 20:01:55 CET 2008

(using STunnel 4.21 on gentoo)

I can successfully run the samba SWAT tool through stunnel with these 

exec = /usr/sbin/swat
execargs = swat
accept = 901

But, I have discovered that in order to successfully log-in to swat, I 
have to comment these lines in the global section of stunnel.conf:

#setuid = stunnel
#setgid = stunnel

Is there a way to specify the UID/GID per service (like the xinetd 
service level option "user") instead of globally?



More information about the stunnel-users mailing list