Go to main content

Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.4

Exit Print View

Updated: February 2022
 
 

Configuring CHAP Authentication on the Dial-In Server

    Perform the following tasks when setting up CHAP authentication for dial-In servers:

  1. How to Create a CHAP Credentials Database for Dial-In Servers – Create, or have the callers create, their CHAP secrets. Add the security credentials for all trusted callers to the /etc/ppp/chap-secrets file.

  2. How to Add CHAP Support to the PPP Configuration Files on a Dial-In Server – Add options specific to CHAP to the /etc/ppp/options and /etc/ppp/peers/peer-name files

The first task in setting up CHAP authentication is modifying the /etc/ppp/chap-secrets file. This file contains the CHAP security credentials, including the CHAP secret, that are used to authenticate callers on the link.


Note - UNIX or PAM authentication mechanisms do not work with CHAP. For example, you cannot use the PPP login option as described in How to Create a PAP Credentials Database for a Dial-In Server. If your authentication scenario requires PAM or a style of authentication used in UNIX systems, choose PAP instead.

The following procedure implements CHAP authentication for a dial-in server in a private network. The PPP link is the only connection to the outside world. The only callers who can access the network have been granted permission by managers of the network, possibly including the system administrator.