]> git.ozlabs.org Git - ppp.git/commitdiff
Make a note about shell expansion in pppd man page for pty option. (#545)
authorJaco Kroon <jaco@uls.co.za>
Wed, 22 Jan 2025 21:47:51 +0000 (23:47 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 21:47:51 +0000 (08:47 +1100)
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
pppd/pppd.8

index 3a787a0f5357048e4f354f7a7d3d1d743482a751..b79fc8d0f8dd9c4a34412f4f1b6765e6de12ddcf 100644 (file)
@@ -1021,6 +1021,11 @@ pseudo-tty master as its standard input and output.  An explicit
 device name may not be given if this option is used.  (Note: if the
 \fIrecord\fR option is used in conjunction with the \fIpty\fR option,
 the child process will have pipes on its standard input and output.)
+
+It is important to note that script will be executed by passing it to /bin/sh
+using -c, such that if script contains arguments /bin/sh may attempt to
+interpret that, and thus any arguments should be escaped to avoid shell
+expansion.
 .TP
 .B receive\-all
 With this option, pppd will accept all control characters from the