Browse Source

Don't suggest creating sockets in /var/run as we create

sockets as our original uid.  Suggest creating /var/ppp
with perms 1777 instead.
Pointed out by: Masafumi NAKANE <max@wide.ad.jp>
OPENBSD_2_3
brian 27 years ago
parent
commit
e90978f391
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/etc/ppp/ppp.conf.sample

+ 7
- 3
src/etc/ppp/ppp.conf.sample View File

@ -4,7 +4,7 @@
# #
# Originally written by Toshiharu OHNO # Originally written by Toshiharu OHNO
# #
# $Id: ppp.conf.sample,v 1.3 1997/12/27 07:22:15 brian Exp $
# $Id: ppp.conf.sample,v 1.4 1997/12/30 23:36:08 brian Exp $
# #
################################################################# #################################################################
@ -116,9 +116,13 @@ examples:
# #
# When in -auto, -ddial, -direct or -background mode, ppp can accept # When in -auto, -ddial, -direct or -background mode, ppp can accept
# control instructions from the ``pppctl'' program. First, you must # control instructions from the ``pppctl'' program. First, you must
# set up your control socket. It's safest to use a UNIX domain socket:
# set up your control socket. It's safest to use a UNIX domain socket
# and to keep these sockets in one place:
# # mkdir /var/ppp
# # chmod 1777 /var/ppp
# then create your socket there:
# #
set server /var/run/internet 0660
set server /var/ppp/internet 0660
# #
# Although a TCP port may be used if you want to allow control # Although a TCP port may be used if you want to allow control
# connections from other machines: # connections from other machines:


Loading…
Cancel
Save