Package: pptp-linux
Version: 1.7.2-6
Severity: minor
Tags: patch

Hi,

the tunnel files generated by pptpsetup are not working if pptp is used as non-
root user.

The first paragraph of file USING (root of source tree) suggests using the 
absolute path too:
> Usage Notes
> 
> pptp is started as a psuedo-tty child process using pppd's pty option:
>         pppd call provider [pppd-options] \
>         pty "/usr/sbin/pptp hostname --nolaunchpppd [pptp-options]"
> ...

Please consider applying the attached patch. It should not break anything for 
users using pptp as root, but works for more secure setup's using a non-root 
user too.

Thanks
Stefan
diff -uNrp pptp-linux-1.7.2.orig/pptpsetup pptp-linux-1.7.2/pptpsetup
--- pptp-linux-1.7.2.orig/pptpsetup	2011-03-07 18:48:40.000000000 +0100
+++ pptp-linux-1.7.2/pptpsetup	2011-03-07 19:52:39.336169936 +0100
@@ -85,7 +85,7 @@ sub create {
 
     print FILE <<"TUNNEL";
 # written by pptpsetup
-pty "pptp $SERVER --nolaunchpppd"
+pty "/usr/sbin/pptp $SERVER --nolaunchpppd"
 lock
 noauth
 nobsdcomp

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to