Browse Source

Add doas.conf example configuration file.

Discussed with and loved by many.
OK tedu@, tom@, deraadt@.
OPENBSD_6_1
pirofti 7 years ago
parent
commit
0c9ae8d8cb
2 changed files with 18 additions and 4 deletions
  1. +4
    -4
      src/etc/Makefile
  2. +14
    -0
      src/etc/examples/doas.conf

+ 4
- 4
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.428 2016/09/01 09:54:17 deraadt Exp $
# $OpenBSD: Makefile,v 1.429 2016/09/03 11:58:32 pirofti Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -43,9 +43,9 @@ EXAMPLES=chio.conf dhclient.conf dhcpd.conf exports \
remote sensorsd.conf wsconsctl.conf
# -rw-------
EXAMPLES_600=bgpd.conf dvmrpd.conf eigrpd.conf hostapd.conf iked.conf \
ipsec.conf ldapd.conf ldpd.conf ospf6d.conf ospfd.conf pf.conf \
radiusd.conf rc.local rc.securelevel rc.shutdown relayd.conf \
EXAMPLES_600=bgpd.conf doas.conf dvmrpd.conf eigrpd.conf hostapd.conf \
iked.conf ipsec.conf ldapd.conf ldpd.conf ospf6d.conf ospfd.conf \
pf.conf radiusd.conf rc.local rc.securelevel rc.shutdown relayd.conf \
ripd.conf sasyncd.conf snmpd.conf vm.conf ypldap.conf
# -r-xr-xr-x


+ 14
- 0
src/etc/examples/doas.conf View File

@ -0,0 +1,14 @@
# $OpenBSD: doas.conf,v 1.1 2016/09/03 11:58:32 pirofti Exp $
# Configuration sample file for doas(1).
# See doas.conf(5) for syntax and examples.
# Non-exhaustive list of variables needed to build release(8) and ports(7)
#permit nopass setenv { \
# FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK \
# DESTDIR DISTDIR FETCH_CMD FLAVOR GROUP MAKE MAKECONF \
# MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \
# PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \
# SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc
# Allow wheel by default
permit keepenv :wheel

Loading…
Cancel
Save