I just switched from sudo to doas and was stumped by this.

The doas code expects doas.conf in /etc yet the manpage does not explicitly
make that clear. I added a SYNOPSIS like in "man login.conf".

Thanks

Index: doas.conf.5
===================================================================
RCS file: /cvs/src/usr.bin/doas/doas.conf.5,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 doas.conf.5
--- doas.conf.5 1 Sep 2015 13:20:53 -0000       1.16
+++ doas.conf.5 31 Dec 2015 23:39:23 -0000
@@ -19,12 +19,14 @@
 .Sh NAME
 .Nm doas.conf
 .Nd doas configuration file
+.Sh SYNOPSIS
+.Nm /etc/doas.conf
 .Sh DESCRIPTION
 The
 .Xr doas 1
 utility executes commands as other users according to the rules
-in the
-.Nm
+in
+.Nm /etc/doas.conf
 configuration file.
 .Pp
 The rules have the following format:
Index: doas.conf.5
===================================================================
RCS file: /cvs/src/usr.bin/doas/doas.conf.5,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 doas.conf.5
--- doas.conf.5 1 Sep 2015 13:20:53 -0000       1.16
+++ doas.conf.5 31 Dec 2015 23:32:22 -0000
@@ -19,12 +19,14 @@
 .Sh NAME
 .Nm doas.conf
 .Nd doas configuration file
+.Sh SYNOPSIS
+.Nm /etc/doas.conf
 .Sh DESCRIPTION
 The
 .Xr doas 1
 utility executes commands as other users according to the rules
-in the
-.Nm
+in
+.Nm /etc/doas.conf
 configuration file.
 .Pp
 The rules have the following format:

Reply via email to