The following formats are used when the LC_MESSAGES
locale category specifies the "C" locale. In other locales, the strings uid, gid, euid, egid, and groups may be replaced with more
appropriate strings corresponding to the locale.
"uid=%u(%s) gid=%u(%s)\n" <real user ID>, <user-name>, <real group ID>, <group-name>
If the effective and real user IDs do not match,
the following are inserted immediately before the \n
character in the previous format:
" euid=%u(%s)"
with the following arguments added at the end of the argument list:
<effective user ID>, <effective user-name>
If the effective and real group IDs do not match,
the following is inserted directly before the \n
character in the format string (and after any addition resulting from the
effective and real user IDs not matching):
" egid=%u(%s)"
with the following arguments added at the end of the argument list:
<effectivegroup-ID>, <effectivegroupname>
If the process has supplementary group affiliations or the selected
user is allowed to belong to multiple groups, the first is added directly
before the NEWLINE character in the format
string:
" groups=%u(%s)"
with the following arguments added at the end of the argument list:
<supplementary group ID>, <supplementary group name>
and the necessary number of the following added after that for any
remaining supplementary group IDs:
",%u(%s)"
and the necessary number of the following arguments added at the end
of the argument list:
<supplementary group ID>, <supplementary group name>
If any of the user ID, group ID,
effective user ID, effective group ID
or supplementary/multiple group IDs cannot be mapped
by the system into printable user or group names, the corresponding (%s) and name argument is omitted from the corresponding format
string.
When any of the options are specified, the output format is as described
under OPTIONS.
|