summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2009-03-05 08:27:04 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2009-03-05 08:27:04 +0000
commit684bf8a077400d301ed6603368be96ad2943d11d (patch)
treea878ecf080b25a4c5d4c0322ff208e966cfdc9aa /share
parent15016bfb551a3148cf4ae4e8f0fbe5138c30a333 (diff)
Besides su(1) and passwd(1), also advise specifying the full path to
sudo(8). "it makes sense" jmc@, ok deraadt@
Diffstat (limited to 'share')
-rw-r--r--share/man/man8/afterboot.811
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8
index a7acce4f01a..2c58ed2fc30 100644
--- a/share/man/man8/afterboot.8
+++ b/share/man/man8/afterboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: afterboot.8,v 1.120 2007/11/30 09:49:20 jmc Exp $
+.\" $OpenBSD: afterboot.8,v 1.121 2009/03/05 08:27:03 ajacoutot Exp $
.\"
.\" Copyright (c) 1997 Marshall M. Midden
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 30 2007 $
+.Dd $Mdocdate: March 5 2009 $
.Dt AFTERBOOT 8
\!\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu
.Os
@@ -106,10 +106,11 @@ Type the command
.Ic /usr/bin/passwd
to change it.
.Pp
-It is a good idea to always specify the full path name for both the
-.Xr passwd 1
-and
+It is a good idea to always specify the full path name for the
+.Xr passwd 1 ,
.Xr su 1
+and
+.Xr sudo 8
commands as this inhibits the possibility of files placed in your execution
.Ev PATH
for most shells.