Skip to content

Commit

Permalink
Make a note about shell expansion in pppd man page for pty option. (#545
Browse files Browse the repository at this point in the history
)

Signed-off-by: Jaco Kroon <[email protected]>
  • Loading branch information
jkroonza authored Jan 22, 2025
1 parent 9f612dc commit 1b65ca2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pppd/pppd.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b65ca2

Please sign in to comment.