summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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