1## Server-interpreted Authentication Types "localuser" and "localgroup"
2
3On systems which can determine in a secure fashion the credentials of a client
4process, the "localuser" and "localgroup" authentication methods provide access
5based on those credentials.  The format of the values provided is platform
6specific.  For POSIX & UNIX platforms, if the value starts with the character
7'#', the rest of the string shall be treated as a decimal uid or gid, otherwise
8the string is defined as a user name or group name.
9
10Systems offering this MUST not simply trust a user supplied value (such as an
11environment variable or IDENT protocol response).  It is expected many systems
12will only support this for clients running on the same host using a local IPC
13transport.
14
15Examples:
16
17```
18xhost +SI:localuser:alanc
19```
20
21```
22xhost +SI:localuser:#1234
23```
24
25```
26xhost +SI:localgroup:wheel
27```
28
29```
30xhost +SI:localgroup:#0
31```
32
33