ppp -- login shell for the Point-to-Point Protocol


/usr/lib/ppp/ppp-q ] [ -u name ]


/usr/lib/ppp/ppp is executed by login(M) upon system receipt of an incoming PPP connection request at a tty port. For this to occur, there must be a PPP login account whose ``program'' field in the /etc/passwd file is set to /usr/lib/ppp/ppp. This login name must be used by the remote host in requesting a connection. This login name must also exist as an entry in the /etc/ppphosts file.

ppp passes the name of its controlling tty and the login name used by the remote host to pppd(ADMN) through a UNIX domain socket. pppd looks up the login name in /etc/ppphosts and configures a STREAMS stack over the controlling tty based on the /etc/ppphosts entry. ppp has no further requirements but does not exit so as to keep the tty line open for the PPP connection.

When the connection is no longer needed, pppd sends a SIGUSR1 to ppp. Upon receipt of this signal, ppp exits and the tty is closed. Additionally, ppp responds to the signals SIGHUP and SIGTERM by passing a close message to the PPP daemon and then exiting.

ppp normally sends the banner SCO OpenServer PPP to tell the client that it is running. The -q option prevents the banner being sent.

If the -u option is used to specify a login name, ppp will start without trying to obtain a login name and password from a remote login script. The name, which need not exist in /etc/passwd, is used to obtain details about a link's endpoint from /etc/ppphosts.

See also

getty(M), login(M), passwd(F), ppp(ADMP), pppd(ADMN), ppphosts(SFF)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003