svn commit: r367253 - head/share/man/man7
Mateusz Piotrowski
0mp at FreeBSD.org
Sun Nov 1 17:27:49 UTC 2020
Author: 0mp (doc,ports committer)
Date: Sun Nov 1 17:27:48 2020
New Revision: 367253
URL: https://svnweb.freebsd.org/changeset/base/367253
Log:
Document how to use sudo for SU_CMD
It is rather common for the ports users to replace su(1) with sudo(8)
within the SU_CMD variable. Let's document it in the manual page (so far
it's been hidden in a comment within bsd.commands.mk).
MFC after: 2 weeks
Modified:
head/share/man/man7/ports.7
Modified: head/share/man/man7/ports.7
==============================================================================
--- head/share/man/man7/ports.7 Sun Nov 1 16:38:30 2020 (r367252)
+++ head/share/man/man7/ports.7 Sun Nov 1 17:27:48 2020 (r367253)
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 3, 2020
+.Dd November 1, 2020
.Dt PORTS 7
.Os
.Sh NAME
@@ -442,7 +442,10 @@ The unprivileged user must have write access to
and
.Va DISTDIR .
The default is
-.Ql /usr/bin/su root -c
+.Ql /usr/bin/su root -c .
+Many users set it to
+.Ql /usr/local/bin/sudo -E sh -c
+for convenience.
.It Va PACKAGES
Used only for the
.Cm package
More information about the svn-src-all
mailing list