System Administration Guide: Resource Management and Network Services

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

The procedure uses the PPP configuration files that were introduced in How to Define Communications Over the Serial Line (Dial-in Server) as examples.

  1. Log in to the dial-in server as superuser.

  2. Add authentication options to the /etc/ppp/options file.

    For example, you would add the options in bold to an existing /etc/ppp/optionsfile to implement PAP authentication:


    lock
    idle 120
    nodefaultroute
    name myserver
    auth
    require-pap
    user myserver
    remotename user2
    login
    

    name myserver

    Sets myserver as the PAP name of the user on the local machine. If the login option is used, the PAP name must be the same as the user's UNIX user name in the password database.

    auth

    States that the server must authenticate callers before establishing the link.

    require-pap

    Requires callers to provide PAP credentials.

    user myserver

    Defines myserver as the user name of the local machine.

    remotename user2

    Defines user2 as a peer that requires authentication credentials from the local machine.

    login

    Specifies that the local machine must use the login option of PAP for authentication, wherever it is called for in the /etc/ppp/pap-secrets file.

  3. Create an /etc/ppp/options.ttyname file, as described in How to Define Communications Over the Serial Line.

  4. Set up the $HOME/.ppprc file for each remote caller, as explained in How to Configure Users of the Dial-in Server.

Where to Go From Here

Task 

For Instructions 

Configure PAP authentication credentials for trusted callers of the dial-in server 

Configuring PAP Authentication for Trusted Callers (Dial-out Machines)