System Administration Guide: Resource Management and Network Services

How to Configure Users of the Dial-in Server

  1. Become superuser on the dial-in server.

  2. Create a new account on the dial-in server for each remote PPP user.

    You can use admintool or the Solaris Management Console to create a new user. For instructions on creating a new user through Solaris Management Console, see "Setting Up User Accounts (Task Map)" in System Administration Guide: Basic Administration. For instructions on creating a new user through admintool, see admintool(1M).


    Note -

    The remaining steps show how to create an account by using admintool. You can use the same parameters for creating an account with Solaris Management Console.


  3. Use the Add User template to create the new user.

    For example, the next table shows how you might fill out PPP-related parameters for an account that is called pppuser for user1 on the dial-out machine myhome.

    Template Parameter 

    Value 

    Definition 

    User Name 

    pppuser

    The user account name for the remote user. This account name should correspond to the account name that is given in the login sequence of the chat script. For example, pppuser is the account name that is found in the chat script in "How to Create the Instructions for Calling a Peer".

    Login Shell 

    /usr/bin/pppd

    The default login shell for the remote user. The login shell /usr/bin/pppd initially restricts the caller to a dedicated PPP environment.

    Create Home Dir Path 

    /export/home/pppuser

    The home directory /export/home/pppuser is set when the caller successfully logs in to the dial-in server.

  4. Create for each caller a $HOME/.ppprc file that contains various options that are specific to the user's PPP session.

    For example, you might create the following .ppprc file for pppuser.


    # cd /export/home/pppuser
    # vi .ppprc
    noccp

    noccp turns off compression control on the link.

Where to Go From Here

Task 

For Instructions 

Set up more users of the dial-in server 

"How to Configure Users of the Dial-in Server"

Configure communications over the dial-in server 

"How to Define Communications Over the Serial Line (Dial-in Server)"