From: Markus Hiereth Date: Sun, 6 Mar 2022 23:59:41 +0000 (-0600) Subject: Improve groups and id manpages X-Git-Tag: 4.12~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b2e1e7c578590fbe448374968740c60dde12dc;p=thirdparty%2Fshadow.git Improve groups and id manpages Signed-off-by: Serge Hallyn --- diff --git a/man/groups.1.xml b/man/groups.1.xml index 2b5b1ff24..dcbedbafd 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 624a3f4a9..9d77330fb 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