1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Show how to use "*" as the password and mention the forth field.

This commit is contained in:
Brian Somers 1998-03-09 19:26:17 +00:00
parent d501527213
commit b3ae3fc83d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/cvs2svn/branches/MP/; revision=34435

View File

@ -5,19 +5,32 @@
# This file is used to authenticate incoming connections.
# You must ``enable'' either PAP or CHAP in your ppp.conf file.
# The peer may then use any of the Authname/Authkey pairs listed.
# If an IP address is given, it will be assigned to the peer.
# Additionally, if ``passwdauth'' is enabled and an entry isn't
# found in this file, the passwd(5) database is used.
#
# If the password is specified as "*", look it up in passwd(5).
# This doesn't work for CHAP connections as ppp must have access
# to the unencrypted password for CHAP.
#
# If an IP address is given as the third field, it will be assigned
# to the peer.
#
# If a label is given as the forth field, it is used when reading
# the ppp.linkup and ppp.linkdown files.
#
# If an entry exists for your local machine (as given by the
# ``hostname -s'' command), the password specified will be
# required for all server socket connections. Refer to the ppp(8)
# and pppctl(8) man pages for further details.
# used as the default diagnostic port password. Refer to the ppp(8)
# and pppctl(8) man pages for further details. This also allows
# ppp to process SIGUSR1.
#
# $Id: ppp.secret.sample,v 1.4 1997/02/23 09:21:12 peter Exp $
# $Id: ppp.secret.sample,v 1.5 1997/11/08 20:58:41 brian Exp $
#
##################################################
# Authname Authkey Peer's IP address
# Authname Authkey Peer's IP address Label
oscar OurSecretKey 192.244.184.34/24
BigBird X4dWg9327 192.244.184.33/32
tama localPasswdForControl
oscar OurSecretKey 192.244.184.34
BigBird X4dWg9327 192.244.184.33/32
tama localCtrlPasswd
subnet * 192.244.184.35-192.244.183.70 subnet