From 10b2e1e7c578590fbe448374968740c60dde12dc Mon Sep 17 00:00:00 2001 From: Markus Hiereth Date: Sun, 6 Mar 2022 17:59:41 -0600 Subject: [PATCH] Improve groups and id manpages Signed-off-by: Serge Hallyn --- man/groups.1.xml | 12 ++++++++---- man/id.1.xml | 8 ++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/man/groups.1.xml b/man/groups.1.xml index 2b5b1ff2..dcbedbaf 100644 --- a/man/groups.1.xml +++ b/man/groups.1.xml @@ -56,16 +56,17 @@ The groups command displays the current group names or ID values. If the value does not have a corresponding entry in /etc/group, the value will be displayed as the - numerical group value. The optional user parameter will display the groups for the - named user. + numerical group value. The optional user + parameter will display the groups for the named user. NOTE - Systems which do not support concurrent group sets will have the + Systems which do not support supplementary groups (see + initgroups3 + ) will have the information from /etc/group reported. The user must use newgrp or sg to change his current real and effective group ID. @@ -98,6 +99,9 @@ , getuid2 + , + + initgroups3 . diff --git a/man/id.1.xml b/man/id.1.xml index 624a3f4a..9d77330f 100644 --- a/man/id.1.xml +++ b/man/id.1.xml @@ -55,8 +55,9 @@ have a corresponding entry in /etc/passwd or /etc/group, the value will be displayed without the corresponding name. The optional flag will - display the group set on systems which support multiple concurrent - group membership. + display the group set on systems which support supplementary groups + (see initgroups + 3). @@ -89,6 +90,9 @@ , getuid2 + , + + initgroups3