summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-05-28 08:04:50 +0000
committertjr <tjr@FreeBSD.org>2002-05-28 08:04:50 +0000
commit806701dcac224411e86e2f77391c5a73d883015e (patch)
tree2d4c6604d441c8613ea0869b7540c6373249ea5b
parentebe993f5ea293f29ce02fa0c4571a1e46bf4a556 (diff)
downloadFreeBSD-src-806701dcac224411e86e2f77391c5a73d883015e.zip
FreeBSD-src-806701dcac224411e86e2f77391c5a73d883015e.tar.gz
Document the ENABLE_SUID_NEWGRP variable.
Requested by: mike PR: 36190
-rw-r--r--share/examples/etc/make.conf4
-rw-r--r--share/man/man5/make.conf.58
2 files changed, 12 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index db08016..3052bea1 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -85,6 +85,10 @@
# To enable installing ssh(1) with the setuid bit turned on
#ENABLE_SUID_SSH= true
#
+# To enable installing newgrp(1) with the setuid bit turned on.
+# Without the setuid bit, newgrp cannot change users' groups.
+#ENABLE_SUID_NEWGRP= true
+#
# To avoid building various parts of the base system:
#NO_CVS= true # do not build CVS
#NO_CXX= true # do not build C++ and friends
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index d9fefa5..774a93b 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -352,6 +352,14 @@ port(s).
.Pq Vt bool
Set this if you wish to use the k5su utility. Otherwise, it will be
installed without the set-user-ID bit set.
+.It Va ENABLE_SUID_NEWGRP
+.Pq Vt bool
+Set this to install
+.Xr newgrp 1
+with the set-user-ID bit set.
+Otherwise,
+.Xr newgrp 1
+will not be able to change users' groups.
.It Va MODULES_WITH_WORLD
.Pq Vt bool
Set to build modules with the system instead of the kernel.
OpenPOWER on IntegriCloud