Date: Fri, 12 Sep 2025 09:53:01 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f3631902a58f - stable/14 - chroot.8: Be more precise when describing '-u', '-g' and '-G' Message-ID: <202509120953.58C9r13Y084967@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=f3631902a58ffa659a5eebc15395992953b5a30b commit f3631902a58ffa659a5eebc15395992953b5a30b Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-07-25 06:36:17 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-09-12 09:51:37 +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 (cherry picked from commit 04a6dc7974ee02004c9ccbb0c28d14a3271fb56a) --- 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 dfc915aa1298..e434a5b99fbf 100644 --- a/usr.sbin/chroot/chroot.8 +++ b/usr.sbin/chroot/chroot.8 @@ -27,7 +27,7 @@ .\" .\" @(#)chroot.8 8.1 (Berkeley) 6/9/93 .\" -.Dd July 20, 2021 +.Dd July 25, 2025 .Dt CHROOT 8 .Os .Sh NAME @@ -54,13 +54,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509120953.58C9r13Y084967>