pap-secrets revision 7c478bd95313f5f23a4c958a745db2134aa03244
1193N/A#ident "%Z%%M% %I% %E% SMI"
1193N/A#
1193N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1193N/A# Use is subject to license terms.
1193N/A#
1193N/A# CDDL HEADER START
1193N/A#
1193N/A# The contents of this file are subject to the terms of the
1193N/A# Common Development and Distribution License, Version 1.0 only
1193N/A# (the "License"). You may not use this file except in compliance
1193N/A# with the License.
1193N/A#
1193N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1193N/A# or http://www.opensolaris.org/os/licensing.
1193N/A# See the License for the specific language governing permissions
1193N/A# and limitations under the License.
1193N/A#
1193N/A# When distributing Covered Code, include this CDDL HEADER in each
1193N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1193N/A# If applicable, add the following below this CDDL HEADER, with the
1193N/A# fields enclosed by brackets "[]" replaced with your own identifying
1193N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1193N/A#
1193N/A# CDDL HEADER END
1193N/A#
1193N/A# Passwords for authentication using PAP (Password Authentication Protocol)
1193N/A# are placed here. Each line is a separate entry and consists of a list of
1193N/A# space or tab separated tokens.
1195N/A#
1193N/A# client server password [IP addresses ["--" options]]
1193N/A#
1193N/A# When authenticating to a peer (so-called "client mode;" as when dialing
1193N/A# out to an ISP), the "client" will be matched using the local name and
1193N/A# "server" will use the remote peer's name. PAP does not specify an
1193N/A# authenticator name, so the "remotename <name>" option should be used.
1193N/A# Typically, the "user <name>" option is also to specify the local name.
1193N/A#
1193N/A# When authenticating a peer (so-called "server mode;" as when allowing
1193N/A# dial-up access to this system), the remote peer's name is the "client"
1193N/A# and the local system name is the "server." In this case, the privileged
1195N/A# "name <name>" option is sometimes used to set the local name. The "user
1195N/A# <name>" option cannot be used. The remote peer's name comes from the PAP
1195N/A# messages the peer sends.
1193N/A#
1193N/A# After the password, which may be a crypt(3c) encoded password when acting
# as a server, a list of valid IP addresses for the peer appears. This
# must be present when acting as a server. Usually, this is specified as
# "*" and actual IP addresses are given in the options. If a given dial-in
# peer has an allocated IP address ("static IP addressing"), then this
# address may be given here. If there's exactly one address, then this will
# be sent to the peer as a hint.
#
# The entry may also have extra options after a -- token. These are
# interpreted as privileged pppd options, and may be used to enable
# proxyarp or other optional features.
#
# This is provided for the "myisp" example; see peers/myisp.tmpl.
# myname myisp mypassword