| 1 | |
| 2 | |
| 3 | |
| 4 | ID(1L) ID(1L) |
| 5 | |
| 6 | |
| 7 | N\bNA\bAM\bME\bE |
| 8 | id - print real and effective UIDs and GIDs |
| 9 | |
| 10 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS |
| 11 | i\bid\bd [-gnruG] [--group] [--name] [--real] [--user] |
| 12 | [--groups] [username] |
| 13 | |
| 14 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN |
| 15 | This manual page documents the GNU version of i\bid\bd. i\bid\bd |
| 16 | prints information about the given user, or the process |
| 17 | running it if no user is specified. By default, it prints |
| 18 | the real user ID, real group ID, effective user ID if dif- |
| 19 | ferent from the real user ID, effective group ID if dif- |
| 20 | ferent from the real group ID, and supplemental group IDs. |
| 21 | It prints each of these values preceded by a string iden- |
| 22 | tifying it and followed by the corresponding user or group |
| 23 | name in parentheses. |
| 24 | |
| 25 | The options cause i\bid\bd to print only part of the above |
| 26 | information. |
| 27 | |
| 28 | O\bOP\bPT\bTI\bIO\bON\bNS\bS |
| 29 | -_\bg, --_\bg_\br_\bo_\bu_\bp |
| 30 | Print only the group ID. |
| 31 | |
| 32 | -_\bn, --_\bn_\ba_\bm_\be |
| 33 | Print the user or group name instead of the ID num- |
| 34 | ber. Requires -_\bu, -_\bg, or -_\bG. |
| 35 | |
| 36 | -_\br, --_\br_\be_\ba_\bl |
| 37 | Print the real, instead of effective, user or group |
| 38 | ID. Requires -_\bu, -_\bg, or -_\bG. |
| 39 | |
| 40 | -_\bu, --_\bu_\bs_\be_\br |
| 41 | Print only the user ID. |
| 42 | |
| 43 | -_\bG, --_\bg_\br_\bo_\bu_\bp_\bs |
| 44 | Print only the supplementary groups. |
| 45 | |
| 46 | The long-named options can be introduced with `+' as well |
| 47 | as `--', for compatibility with previous releases. Even- |
| 48 | tually support for `+' will be removed, because it is |
| 49 | incompatible with the POSIX.2 standard. |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | 1 |
| 65 | |
| 66 | |