summaryrefslogtreecommitdiffstats
path: root/share/examples/pppd/pap-secrets.sample
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2002-01-29 00:23:35 +0000
committercjc <cjc@FreeBSD.org>2002-01-29 00:23:35 +0000
commitb3b56d609a8e130ead3cf3de57be8e709508af25 (patch)
treeef387e917ce7624147339fadf5dd005483c5e2b5 /share/examples/pppd/pap-secrets.sample
parentdc82fedb5a0b52746bb2b4a6d1fef7b198f963af (diff)
downloadFreeBSD-src-b3b56d609a8e130ead3cf3de57be8e709508af25.zip
FreeBSD-src-b3b56d609a8e130ead3cf3de57be8e709508af25.tar.gz
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.
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 0000000..8896bdd
--- /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
OpenPOWER on IntegriCloud