The branch main has been updated by olce:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=04a6dc7974ee02004c9ccbb0c28d14a3271fb56a

commit 04a6dc7974ee02004c9ccbb0c28d14a3271fb56a
Author:     Olivier Certner <o...@freebsd.org>
AuthorDate: 2025-07-25 06:36:17 +0000
Commit:     Olivier Certner <o...@freebsd.org>
CommitDate: 2025-07-28 01:11:12 +0000

    chroot.8: Be more precise when describing '-u', '-g' and '-G'
    
    Reviewed by:    kevans, ziaee
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D51511
---
 usr.sbin/chroot/chroot.8 | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/usr.sbin/chroot/chroot.8 b/usr.sbin/chroot/chroot.8
index f26b7e937da9..4a1a5a396631 100644
--- a/usr.sbin/chroot/chroot.8
+++ b/usr.sbin/chroot/chroot.8
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd July 20, 2021
+.Dd July 25, 2025
 .Dt CHROOT 8
 .Os
 .Sh NAME
@@ -52,13 +52,15 @@ or an interactive copy of the user's login shell.
 The options are as follows:
 .Bl -tag -width "-G group[,group ...]"
 .It Fl G Ar group Ns Op Cm \&, Ns Ar group  ...
-Run the command with the permissions of the specified groups.
+Run the command with the specified groups as supplementary groups.
 .It Fl g Ar group
-Run the command with the permissions of the specified
-.Ar group .
+Run the command with the specified
+.Ar group
+as the real, effective and saved groups.
 .It Fl u Ar user
-Run the command as the
-.Ar user .
+Run the command with the specified
+.Ar user
+as the real, effective and saved users.
 .It Fl n
 Use the
 .Dv PROC_NO_NEW_PRIVS_CTL

Reply via email to