On 07/25/2015 05:25 AM, Michael Reed wrote:
> This makes some minor improvements to doas.1, doas.conf.5, and (just
> barely) su.1.

Maybe some other manuals should be adjusted as well, e.g. afterboot.8
and release.8.

Index: share/man/man8/afterboot.8
===================================================================
RCS file: /cvs/src/share/man/man8/afterboot.8,v
retrieving revision 1.146
diff -u -p -r1.146 afterboot.8
--- share/man/man8/afterboot.8  7 Dec 2014 23:05:30 -0000       1.146
+++ share/man/man8/afterboot.8  25 Jul 2015 07:50:19 -0000
@@ -78,7 +78,7 @@ user, add said user to the
 group, then use the
 .Xr su 1
 and
-.Xr sudo 8
+.Xr doas 1
 commands when root privileges are required.
 .Pp
 The installation process provides an option to set up a user account.
@@ -109,13 +109,13 @@ Do not choose any word in any language.
 It is common for an intruder to use dictionary attacks.
 Type the following command to change it:
 .Pp
-.Dl $ /usr/bin/sudo /usr/bin/passwd root
+.Dl $ /usr/bin/doas /usr/bin/passwd root
 .Pp
 It is a good idea to always specify the full path name for the
 .Xr passwd 1 ,
 .Xr su 1
 and
-.Xr sudo 8
+.Xr doas 1
 commands as this inhibits the possibility of rogue files placed in your
 .Ev PATH
 being executed for most shells.
@@ -594,6 +594,7 @@ Information on building and modifying ke
 is contained within
 .Xr config 8 .
 .Sh SEE ALSO
+.Xr doas 1 ,
 .Xr ksh 1 ,
 .Xr man 1 ,
 .Xr pkg_add 1 ,
@@ -604,7 +605,6 @@ is contained within
 .Xr dmesg 8 ,
 .Xr ifconfig 8 ,
 .Xr intro 8 ,
-.Xr sudo 8 ,
 .Xr sysctl 8
 .Sh HISTORY
 This document first appeared in
Index: share/man/man8/release.8
===================================================================
RCS file: /cvs/src/share/man/man8/release.8,v
retrieving revision 1.68
diff -u -p -r1.68 release.8
--- share/man/man8/release.8    6 Apr 2014 12:15:26 -0000       1.68
+++ share/man/man8/release.8    25 Jul 2015 07:50:19 -0000
@@ -184,8 +184,8 @@ The steps are:
 Move all your existing object files out of the way and then remove
 them in the background:
 .Bd -literal -offset indent
-$ cd /usr/obj && mkdir -p .old && sudo mv * .old && \e
-       sudo rm -rf .old &
+$ cd /usr/obj && mkdir -p .old && doas mv * .old && \e
+       doas rm -rf .old &
 .Ed
 .Pp
 Re-build your obj directories:
@@ -194,11 +194,11 @@ Re-build your obj directories:
 .Pp
 Create directories that might be missing:
 .Pp
-.Dl $ cd /usr/src/etc && sudo DESTDIR=/ make distrib-dirs
+.Dl $ cd /usr/src/etc && doas DESTDIR=/ make distrib-dirs
 .Pp
 Begin the build:
 .Pp
-.Dl $ cd /usr/src && make SUDO=sudo build
+.Dl $ cd /usr/src && make SUDO=doas build
 .Pp
 Update
 .Pa /etc ,
@@ -342,9 +342,9 @@ This is described in
 .Xr ports 7 .
 .Sh SEE ALSO
 .Xr cvs 1 ,
+.Xr doas 1 ,
 .Xr pkg_add 1 ,
 .Xr ports 7 ,
-.Xr sudo 8 ,
 .Xr sysmerge 8
 .Sh HISTORY
 This document first appeared in

Reply via email to