ppp(1M) — ADMINISTRATOR COMMANDS
NAME
ppp − login shell for the Point-to-Point Protocol
SYNOPSIS
/usr/lib/ppp/ppp
DESCRIPTION
/usr/lib/ppp/ppp is executed by login(1) upon receipt of an incoming PPP connection request.
ppp then passes the name of its controlling tty to in.pppd through the named pipe /usr/lib/ppp/named_ppp and then waits for the PPP datagram traffic on this link to stop, either through a timeout or an active close of the link. When the tty is released, in.pppd will kill the ppp process and break the IP connection to the remote host.
FILES
/usr/lib/ppp/named_ppp
SEE ALSO
login(1), pppd(1M), ttymon(1M), ppp(7).
USER CONSIDERATIONS
As cited in the description for the “Basic Networking Utilities,” this login shell will need appropriate entries in the /etc/passwd and /etc/group files for each PPP host.
The typical entries in /etc/passwd will look like this:
nppp:x:11:9:0000-ppp(0000):/var/spool/uucppublic:/usr/lib/ppp/ppp
In addition, a corresponding entry will be needed for ppp in /etc/group:
ppp::9:root,ppp
The remote login request needs to use nppp as its login user name since the named pipe, /usr/lib/ppp/named_ppp, is created with uid nppp.
Note that when ppp is killed, this action will also cause in.pppd to break the IP connection for this PPP path.