aboutsummaryrefslogtreecommitdiff
path: root/share/examples/pppd/pap-secrets.sample
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-01-29 00:23:35 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-01-29 00:23:35 +0000
commit76f10508d45b4a344bdebc955636eac3438c55e0 (patch)
treeef387e917ce7624147339fadf5dd005483c5e2b5 /share/examples/pppd/pap-secrets.sample
parent4b82fc955f15e8f0aeeecab222072b8c1898f422 (diff)
Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd. Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8. Remove the out-of-place pppd(8) configuration files in etc/ppp, ppp.shells.sample and ppp.deny. Make the appropriate changes to the build process, etc/Makefile and etc/mtree/BSD.usr.mtree, so it all works. The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved with a repo copy. Note it in the logs with a forced commit to these two. Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
Notes
Notes: svn path=/head/; revision=89936
Diffstat (limited to 'share/examples/pppd/pap-secrets.sample')
-rw-r--r--share/examples/pppd/pap-secrets.sample17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/examples/pppd/pap-secrets.sample b/share/examples/pppd/pap-secrets.sample
new file mode 100644
index 000000000000..8896bdd7a65f
--- /dev/null
+++ b/share/examples/pppd/pap-secrets.sample
@@ -0,0 +1,17 @@
+# $FreeBSD$
+#
+# Example for /etc/ppp/pap-secrets file.
+#
+# This file should be owned by root and not readable or
+# writable by any other user.
+#
+# Dialin format: <remote name> <our name> <password> <allowed IP addresses>
+#
+joe server password 192.168.0.1/24 192.168.2.2
+lisa server l1z4 * !192.168.0.1
+mike server secret *
+luser server nopass -
+#
+# Dialout format: <our name> <server name> <password>
+#
+jane isp password