[stunnel-users] Connection crypted with pppd

Michal Trojnara Michal.Trojnara at mobi-com.net
Wed Oct 27 10:54:33 CEST 2004


angelo.raspanti wrote:

> chroot = /var/run/stunnel/
[cut]
> setuid = nobody
> setgid = nobody
[cut]
> exec = /usr/sbin/pppd
[cut]
> 2004.10.27 07:26:00 LOG7[5251:16386]: pty_allocate:namebuf=, 
> namebuflen=1024
> : Success (0)
> 2004.10.27 07:26:00 LOG3[5251:16386]: openpty: No such file or directory 
> (2)
> 2004.10.27 07:26:00 LOG3[5251:16386]: Failed to initialize remote 
> connection

Do you have pseudoterminal devices in your  /var/run/stunnel/dev/ directory?

Do you really have /var/run/stunnel/usr/sbin/pppd (and shared libraries and 
configuration files and other files/devices needed by pppd)?

Are you sure your pppd will work when started as user nobody?

Using chroot with exec is not trivial.  Please make sure you know what 
your're trying to do.  8-)

Best regards,
    Mike 




More information about the stunnel-users mailing list