System Administration Guide: Network Services

Setting Up CHAP Authentication (Task Maps)

Table 19–4 Task Map for CHAP Authentication (Dial-in Server)

Task 

Description 

For Instructions 

1. Assign CHAP secrets to all trusted callers 

Create, or have the callers create, their CHAP secrets. 

How to Create a CHAP Credentials Database (Dial-in Server)

2. Create the chap-secrets database 

Add the security credentials for all trusted callers to the /etc/ppp/chap-secrets file.

How to Create a CHAP Credentials Database (Dial-in Server)

3. Modify the PPP configuration files 

Add options specific to CHAP to the /etc/ppp/options and /etc/ppp/peers/peer-name files.

How to Add CHAP Support to the PPP Configuration Files (Dial-in Server)

Table 19–5 Task Map for CHAP Authentication (Dial-out Machine)

Task 

Description 

For Instructions 

1. Create the CHAP database for the trusted caller's machine 

Create the security credentials for the trusted caller and, if necessary, security credentials for other users who call the dial-out machine, in /etc/ppp/chap-secrets.

How to Create a CHAP Credentials Database (Dial-in Server)

2. Modify the PPP configuration files 

Add options specific to CHAP to the /etc/ppp/options file.

How to Add CHAP Support to the PPP Configuration Files (Dial-out Machine)