| 1 |
|
| 2 |
<HTML> |
| 3 |
<HEAD> |
| 4 |
<TITLE>Distinguishing Users</TITLE> |
| 5 |
</HEAD> |
| 6 |
<BODY> |
| 7 |
|
| 8 |
|
| 9 |
<H2><A NAME="xpausers">XPAUsers: Distinguishing Users</A></H2> |
| 10 |
|
| 11 |
|
| 12 |
<H2>Summary</H2> |
| 13 |
<P> |
| 14 |
XPA normally distinguishes between users on a given host, but it is possible |
| 15 |
to send data to access points belonging to other users. |
| 16 |
|
| 17 |
|
| 18 |
<H2>Description</H2> |
| 19 |
<P> |
| 20 |
A single XPA name service typically serves all users on a given |
| 21 |
machine. Two users can register the same XPA access points on the |
| 22 |
same machine without conflict, because the user's username is |
| 23 |
registered with each access point and, by default, programs such as |
| 24 |
xpaget and xpaset only process access points of the appropriate user. |
| 25 |
For example: |
| 26 |
<PRE> |
| 27 |
XPA xpa1 gs 838e2f67:1262 eric |
| 28 |
XPA xpa2 gs 838e2f67:1266 eric |
| 29 |
XPA xpa1 gs 838e2f67:2523 john |
| 30 |
XPA xpa2 gs 838e2f67:2527 john |
| 31 |
</PRE> |
| 32 |
Here the users "eric" and "john" both have registered the access |
| 33 |
points xpa1 and xpa2. When either "john" or "eric" retrieves |
| 34 |
information from xpa1, they will process only the access point |
| 35 |
registered in their user name. |
| 36 |
|
| 37 |
<P> |
| 38 |
If you want to access another user's XPA access points on a single |
| 39 |
machine, use the -u [user] option on xpaset, xpaget, etc. For example, |
| 40 |
if eric executes: |
| 41 |
<PRE> |
| 42 |
xpaget -u john xpa1 |
| 43 |
</PRE> |
| 44 |
he will access John's xpa1 access point.Use "*" to access all users |
| 45 |
on a given machine: |
| 46 |
<PRE> |
| 47 |
xpaget -u "*" xpa1 |
| 48 |
</PRE> |
| 49 |
Note that the <A HREF="./env.html">XPA Environment Variable</A> |
| 50 |
XPA_NSUSERS can be used to specify the default list of users to |
| 51 |
process: |
| 52 |
<PRE> |
| 53 |
setenv XPA_NSUSERS "eric,john" |
| 54 |
</PRE> |
| 55 |
will cause access points from both "eric" and "john" to be processed |
| 56 |
by default. |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
<P> |
| 63 |
<A HREF="./help.html">Go to XPA Help Index</A> |
| 64 |
|
| 65 |
<H5>Last updated: September 10, 2003</H5> |
| 66 |
</BODY> |
| 67 |
</HTML> |