none
[openafs-wiki.git] / AFSLore / ProcessAuthenticationGroup.mdwn
1 Some [words](https://lists.openafs.org/pipermail/openafs-info/2002-February/003281.html) from [[RussAllbery]] on [[process authentication groups|Main/ProcessAuthenticationGroup]] ([[PAG]]s) with edits:
2
3 A PAG holds the authentication information (i.e. tokens or basically AFS service tickets) needed by the [[CacheManager]] to identify you to AFS servers and visa versa (i.e. Kerberos provides [[MutualAuthentication]]). Each PAG is represented by a number, typically encoded as a pair of "funny" groups in your group list. Thus, because it is part of your credentials, it is naturally (on Unix systems at least) and automatically propagated to child processes. These children will have access to your tokens even if they have a diffenent UID (e.g. set uid root programs like lpr can still access your files).
4
5 Part of what PAM does (and AFS integrated logon modules for other systems) is create a PAG for you and put your login session inside it, which means that any AFS tokens that you acquire are restricted to that particular PAG. If you don't create a PAG, however, those tokens are available to any other processes running under the same ID that also aren't in a PAG (or at least that's my understanding and my experiments seem to support that). This is occasionally useful for things like long-running daemons.
6
7 For user logins, though, you generally want to be sure that something puts each login into a separate PAG.
8
9 Use `klog -setpag` to create a (new) PAG after logging in. In a [[KerberosV]] environment, use `aklog -setpag`. There's also [[pagsh|Main/UsageFAQ#2_06_What_is_pagsh_]].
10
11 -- [[TedAnderson]] - 07 Feb 2002
12
13 ----
14
15 See [UsageFAQ#2\_06\_What\_is\_pagsh\_](UsageFAQ#2_06_What_is_pagsh_), [UsageFAQ#2\_07\_Why\_use\_a\_PAG\_](UsageFAQ#2_07_Why_use_a_PAG_), [UsageFAQ#2\_08\_How\_can\_I\_tell\_if\_I\_have\_a\_](UsageFAQ#2_08_How_can_I_tell_if_I_have_a_) [http://www.shop263.com/i-46/1.htm 磷化工] [http://www.shop263.com/i-46/2.htm 磷矿粉] [http://www.shop263.com/i-46/3.htm 磷矿砂] [http://www.shop263.com/i-46/4.htm 磷矿石] [http://www.shop263.com/i-46/5.htm 菱镁矿] [http://www.shop263.com/i-46/6.htm 钙镁磷肥] [http://www.shop263.com/i-46/7.htm 粒状] [http://www.shop263.com/i-46/8.htm 三元复混肥] [http://www.shop263.com/i-46/9.htm 菱锶矿] [http://www.shop263.com/i-46/10.htm 硫化锌精矿] [http://www.shop263.com/i-46/11.htm 硫酸钴] [http://www.shop263.com/i-46/12.htm 硫酸钾] [http://www.shop263.com/i-46/13.htm 硫酸镍] [http://www.shop263.com/i-46/14.htm 硫酸铜] [http://www.shop263.com/i-46/15.htm 铝电解用预焙阳极] [http://www.shop263.com/i-46/16.htm 氯化镍] [http://www.shop263.com/i-46/17.htm 氯化石蜡] [http://www.shop263.com/i-46/18.htm 煤煅烧高岭土] [http://www.shop263.com/i-46/19.htm 煤焦油] [http://www.shop263.com/i-46/20.htm 镁锭块] [http://www.shop263.com/i-46/21.htm 镁基脱硫剂] [http://www.shop263.com/i-46/22.htm 锰锭] [http://www.shop263.com/i-46/23.htm 锰矿] [http://www.shop263.com/i-46/24.htm 锰盐] [http://www.shop263.com/i-46/25.htm 密封胶溶剂] [http://www.shop263.com/i-46/26.htm 明矾石] [http://www.shop263.com/i-46/27.htm 钠钙基膨润土] [http://www.shop263.com/i-46/28.htm 钠基膨润土] [http://www.shop263.com/i-46/29.htm 硼矿] [http://www.shop263.com/i-46/30.htm 膨润土] [http://www.shop263.com/i-46/31.htm 天然活性干燥剂] [http://www.shop263.com/i-46/32.htm 铜矿] [http://www.shop263.com/i-46/33.htm 涂料用膨润土] [http://www.shop263.com/i-46/34.htm 脱模用油] [http://www.shop263.com/i-46/35.htm 脱水钾明矾] [http://www.shop263.com/i-46/36.htm 微细滑石粉] [http://www.shop263.com/i-46/37.htm 十八烷基三甲基氯化铵] [http://www.shop263.com/i-46/38.htm 双飞粉] [http://www.shop263.com/i-46/39.htm 水洗球粘土] [http://www.shop263.com/i-46/40.htm 水杨醛] [http://www.shop263.com/i-46/41.htm 无机凝胶] [http://www.shop263.com/i-46/42.htm 五氧化二钒] [http://www.shop263.com/i-46/43.htm 稀土萃] [http://www.shop263.com/i-46/44.htm 稀土萃取剂] [http://www.shop263.com/i-46/45.htm 稀土金属萃取剂] [http://www.shop263.com/i-46/46.htm 细结构石墨棒] [http://www.shop263.com/i-46/47.htm 香豆素] [http://www.shop263.com/i-46/48.htm 锌锭] [http://www.shop263.com/i-46/49.htm 阳极泥] [http://www.shop263.com/i-46/50.htm 氧化钴] [http://www.shop263.com/i-46/51.htm 氧化镨] [http://www.shop263.com/i-46/52.htm 氧化铈] [http://www.shop263.com/i-46/53.htm 乙基双氧哌嗪] [http://www.shop263.com/i-46/54.htm 乙基乙二胺] [http://www.shop263.com/i-46/55.htm 乙酸异戊酯] [http://www.shop263.com/i-46/56.htm 萤石] [http://www.shop263.com/i-46/57.htm 油墨溶剂] [http://www.shop263.com/i-46/58.htm 有机膨润土] [http://www.shop263.com/i-46/59.htm 有机膨润土流变助剂] [http://www.shop263.com/i-46/60.htm 有颗粒白土] [http://www.shop263.com/i-46/61.htm 有球粘土原矿] [http://www.shop263.com/i-46/62.htm 孕育剂] [http://www.shop263.com/i-46/63.htm 珍珠砂] [http://www.shop263.com/i-46/64.htm 珍珠岩] [http://www.shop263.com/i-46/65.htm 重晶石粉] [http://www.shop263.com/i-46/66.htm 铸造用膨润土] [http://www.shop263.com/i-46/67.htm 钻井泥浆土木工程用膨润土] [http://www.shop263.com/i-46/68.htm 膨胀珍珠岩] [http://www.shop263.com/i-46/69.htm 膨胀蛭石] [http://www.shop263.com/i-46/70.htm 普通功率石墨电极] [http://www.shop263.com/i-46/71.htm 气刨碳棒] [http://www.shop263.com/i-46/72.htm 气雾剂溶剂油] [http://www.shop263.com/i-46/73.htm 铅锭] [http://www.shop263.com/i-46/74.htm 砂状钙镁磷肥] [http://www.shop263.com/i-46/75.htm 湿度指示卡] [http://www.shop263.com/i-46/76.htm 锶盐] [http://www.shop263.com/i-46/77.htm 碳棒] [http://www.shop263.com/i-46/78.htm 碳精棒] [http://www.shop263.com/i-46/79.htm 白云石粉] [http://www.shop263.com/i-46/80.htm 钡盐] [http://www.shop263.com/i-46/81.htm 变色硅胶] [http://www.shop263.com/i-46/82.htm 变压器油] [http://www.shop263.com/i-46/83.htm 丙烯酸马] [http://www.shop263.com/i-46/84.htm 超高功率石墨电极] [http://www.shop263.com/i-46/85.htm 超微细方解石粉] [http://www.shop263.com/i-46/86.htm 超微细滑石粉] [http://www.shop263.com/i-46/87.htm 超细滑石粉] [http://www.shop263.com/i-46/88.htm 超细活性锌粉] [http://www.shop263.com/i-46/89.htm 宠物垫圈] [http://www.shop263.com/i-46/90.htm 单水氢氧化锂] [http://www.shop263.com/i-46/91.htm 蛋白胨] [http://www.shop263.com/i-46/92.htm 低氧球形钛合金粉] [http://www.shop263.com/i-46/93.htm 电解金属锰片] [http://www.shop263.com/i-46/94.htm 电炉锌粉] [http://www.shop263.com/i-46/95.htm 电器绝缘油] [http://www.shop263.com/i-46/96.htm 毒重石] [http://www.shop263.com/i-46/97.htm 煅烧高岭土] [http://www.shop263.com/i-46/98.htm 二甲基苯甲醛] [http://www.shop263.com/i-46/99.htm 二氢香豆素] [http://www.shop263.com/i-46/100.htm 钒酸盐] [http://www.shop263.com/i-46/101.htm 钒铁] [http://www.shop263.com/i-46/102.htm 钒铁合金] [http://www.shop263.com/i-46/103.htm 方解石粉] [http://www.shop263.com/i-46/104.htm 沸石粉] [http://www.shop263.com/i-46/105.htm 氟硅酸钠] [http://www.shop263.com/i-46/106.htm 氟石精矿] [http://www.shop263.com/i-46/107.htm 腐叶土] [http://www.shop263.com/i-46/108.htm 球化剂] [http://www.shop263.com/i-46/109.htm 球粘土粉] [http://www.shop263.com/i-46/110.htm 溶剂油] [http://www.shop263.com/i-46/111.htm 肉桂醇] [http://www.shop263.com/i-46/112.htm 肉桂醛] [http://www.shop263.com/i-46/113.htm 润滑油] [http://www.shop263.com/i-46/114.htm 三氯化磷] [http://www.shop263.com/i-46/115.htm 三氯化铝] [http://www.shop263.com/i-46/116.htm 三氯氧磷] [http://www.shop263.com/i-46/117.htm 三氯乙烷] [http://www.shop263.com/i-46/118.htm 干电池用碳棒] [http://www.shop263.com/i-46/119.htm 干电池用碳精棒] [http://www.shop263.com/i-46/120.htm 高档煅烧高岭土] [http://www.shop263.com/i-46/121.htm 高功率石墨电极] [http://www.shop263.com/i-46/122.htm 高能环保电池] [http://www.shop263.com/i-46/123.htm 高效膨润土] [http://www.shop263.com/i-46/124.htm 高压悬式绝缘子] [http://www.shop263.com/i-46/125.htm 铬铁矿] [http://www.shop263.com/i-46/126.htm 工业硅] [http://www.shop263.com/i-46/127.htm 工业黄磷] [http://www.shop263.com/i-46/128.htm 工业磷酸] [http://www.shop263.com/i-46/129.htm 硅灰石] [http://www.shop263.com/i-46/130.htm 硅胶干燥剂] [http://www.shop263.com/i-46/131.htm 过磷酸钙] [http://www.shop263.com/i-46/132.htm 合金锌粉] [http://www.shop263.com/i-46/133.htm 褐煤] [http://www.shop263.com/i-46/134.htm 黑曜岩] [http://www.shop263.com/i-46/135.htm 滑石粉] [http://www.shop263.com/i-46/136.htm 滑石块] [http://www.shop263.com/i-46/137.htm 黄磷] [http://www.shop263.com/i-46/138.htm 灰钙粉] [http://www.shop263.com/i-46/139.htm 活性白土] [http://www.shop263.com/i-46/140.htm 活性白土吸附脱色剂] [http://www.shop263.com/i-46/141.htm 活性炭] [http://www.shop263.com/i-46/142.htm 钾明矾] [http://www.shop263.com/i-46/143.htm 金不换] [http://www.shop263.com/i-46/144.htm 金属加工用油] [http://www.shop263.com/i-46/145.htm 锂辉石] [http://www.shop263.com/i-46/146.htm 锂矿] [http://www.shop263.com/i-46/147.htm 邻氨基苯甲酸甲酯] [http://www.shop263.com/i-46/148.htm 磷肥碳酸锂] [http://www.shop263.com/i-46/149.htm 碳酸铈] [http://www.shop263.com/i-46/150.htm 陶瓷路面砖] [http://www.shop263.com/i-46/151.htm 特钒] [http://www.shop263.com/i-46/152.htm 特种煤油] [http://www.shop263.com/i-46/153.htm 特种溶剂] [http://www.shop263.com/i-46/154.htm 天麻] [http://www.shop263.com/i-46/155.htm 天青石] [http://www.shop263.com/i-46/156.htm 硫铁矿]