Become superuser on the dial-in server.
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).
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.
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. |
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 |
Task |
For Instructions |
---|---|
Set up more users of the dial-in server | |
Configure communications over the dial-in server |
How to Define Communications Over the Serial Line (Dial-in Server) |