<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_PAG</id>
	<title>Architecture - PAG - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_PAG"/>
	<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;action=history"/>
	<updated>2026-04-17T20:28:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10604&amp;oldid=prev</id>
		<title>Docadmin at 21:20, 22 January 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10604&amp;oldid=prev"/>
		<updated>2010-01-22T21:20:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:20, 22 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Linux Keyring ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Linux Keyring ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10529&amp;oldid=prev</id>
		<title>Docadmin: Protected &quot;Architecture - PAG&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10529&amp;oldid=prev"/>
		<updated>2010-01-22T18:51:17Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Architecture_-_PAG&quot; title=&quot;Architecture - PAG&quot;&gt;Architecture - PAG&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:51, 22 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10148&amp;oldid=prev</id>
		<title>Docadmin at 00:18, 19 January 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=10148&amp;oldid=prev"/>
		<updated>2010-01-19T00:18:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:18, 18 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039;&#039;&#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Linux Keyring ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Linux Keyring ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9934&amp;oldid=prev</id>
		<title>Docadmin: /* Category */</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9934&amp;oldid=prev"/>
		<updated>2010-01-14T23:47:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Category&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:47, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l108&quot;&gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- find existing root context for RPC.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- find existing root context for RPC.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- server treat it as root access.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- server treat it as root access.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Category ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Architecture|PAG]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9857&amp;oldid=prev</id>
		<title>Docadmin: moved PAG to Architecture - PAG</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9857&amp;oldid=prev"/>
		<updated>2010-01-14T21:43:34Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php?title=PAG&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;PAG (page does not exist)&quot;&gt;PAG&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Architecture_-_PAG&quot; title=&quot;Architecture - PAG&quot;&gt;Architecture - PAG&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:43, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9778&amp;oldid=prev</id>
		<title>Docadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9778&amp;oldid=prev"/>
		<updated>2010-01-14T21:01:08Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:01, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9777&amp;oldid=prev</id>
		<title>Adilger: Minor grammar changes</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_PAG&amp;diff=9777&amp;oldid=prev"/>
		<updated>2007-12-19T06:40:16Z</updated>

		<summary type="html">&lt;p&gt;Minor grammar changes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Linux Keyring ==&lt;br /&gt;
&lt;br /&gt;
Lustre uses the Linux keyring facility in session based manner, which means a key is accessible only by processes which belong to a single session. Forked process will inherit its parent&amp;#039;s keys.  If the same user logs in&lt;br /&gt;
twice it will result in two context negotiations with the Lustre server.&lt;br /&gt;
&lt;br /&gt;
Lustre treats the root user specially - all processes of the root user share a&lt;br /&gt;
single key, regardless of session ID.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setuid in Lustre ==&lt;br /&gt;
&lt;br /&gt;
Lustre authenticates users based on the real UID instead of fsuid.  A process&lt;br /&gt;
that changes its fsuid won&amp;#039;t need extra authentication, but the server will&lt;br /&gt;
detect the setuid attempt and perform according to preset rules. If the real&lt;br /&gt;
UID is changed, the new UID has to be authenticated with the server before&lt;br /&gt;
any further access is allowed.&lt;br /&gt;
&lt;br /&gt;
Usually a process has no reason to change its real UID alone (right?).&lt;br /&gt;
In the case that a process of A sets its real UID to 0 (with fsuid still be A),&lt;br /&gt;
the Lustre server will still treat it as root set fsuid to A.&lt;br /&gt;
&lt;br /&gt;
== Kerberos credential ==&lt;br /&gt;
&lt;br /&gt;
There are two possible ways to store Kerberos tickets which affect PAG behavior:&lt;br /&gt;
&lt;br /&gt;
1) on disk (/tmp/krb5cc_uid)&lt;br /&gt;
root is able to read other user&amp;#039;s tickets anyway. So root can&lt;br /&gt;
impersonate other uses by simply &amp;quot;su&amp;quot;, although it will initiate a new&lt;br /&gt;
authentication, it can always succeed because it have access to on-disk&lt;br /&gt;
kerberos tickets.&lt;br /&gt;
&lt;br /&gt;
2) in kernel memory&lt;br /&gt;
A user can store kerberos ticket only in kernel memory via keyring&lt;br /&gt;
facility, and only processes belongs to the same session could have&lt;br /&gt;
access, even not root.&lt;br /&gt;
&lt;br /&gt;
== Use Case ==&lt;br /&gt;
&lt;br /&gt;
The use cases are based on method (2) above (store kerberos credential in kernel&lt;br /&gt;
memory).&lt;br /&gt;
&lt;br /&gt;
1) root access&amp;lt;br&amp;gt;&lt;br /&gt;
- root process accesses Lustre for the first time.&amp;lt;br/&amp;gt;&lt;br /&gt;
- initiate an authentication of root with server.&amp;lt;br/&amp;gt;&lt;br /&gt;
- finish with success, store context in keyring.&amp;lt;br/&amp;gt;&lt;br /&gt;
- using the context for following RPCs.&amp;lt;br/&amp;gt;&lt;br /&gt;
- another root process (from the same session or not) access Lustre.&amp;lt;br/&amp;gt;&lt;br /&gt;
- find the existing context in kernel, use it for following RPCs.&lt;br /&gt;
&lt;br /&gt;
2) non-root access&amp;lt;br&amp;gt;&lt;br /&gt;
- user A logs into the system as session S1.&amp;lt;br&amp;gt;&lt;br /&gt;
- obtain kerberos TGT and store in kernel keyring.&amp;lt;br&amp;gt;&lt;br /&gt;
- user A accesses Lustre, which initiate an authentication of A.&amp;lt;br&amp;gt;&lt;br /&gt;
- the stored kerberos TGT is used in authentication.&amp;lt;br&amp;gt;&lt;br /&gt;
- upon successful completion, store context for S1.&amp;lt;br&amp;gt;&lt;br /&gt;
- using the context for following RPCs.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
- a new process forked in S1, which accesses Lustre also.&amp;lt;br&amp;gt;&lt;br /&gt;
- find the existing context of S1, use it for following RPCs.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
- user A login system from another tty as session S2.&amp;lt;br&amp;gt;&lt;br /&gt;
- user A in S2 accesses Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find existing context, initiate authentication of A.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find kerberos TGT, authentication failed.&amp;lt;br&amp;gt;&lt;br /&gt;
- access failed&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
- in S2, A obtain TGT and store in kernel keyring.&amp;lt;br&amp;gt;&lt;br /&gt;
- user A in S2 access Lustre again.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find existing context, initiate authentication of A.&amp;lt;br&amp;gt;&lt;br /&gt;
- the stored kerberos TGT is used in authentication.&amp;lt;br&amp;gt;&lt;br /&gt;
- finish with success, store context for S2.&amp;lt;br&amp;gt;&lt;br /&gt;
- using the context for following RPCs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) root try to act as A&lt;br /&gt;
support both root and A have login system and authenticated with Lustre&lt;br /&gt;
servers.&lt;br /&gt;
&lt;br /&gt;
3.1)&amp;lt;br&amp;gt;&lt;br /&gt;
- root set fsuid to A, access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- find existing root context for RPC.&amp;lt;br&amp;gt;&lt;br /&gt;
- server detect root try to setuid to A, grant or deny.&lt;br /&gt;
&lt;br /&gt;
3.2)&amp;lt;br&amp;gt;&lt;br /&gt;
- root set real uid to A, access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find existing context, initiate authentication of A.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find kerberos TGT, authentication failed.&amp;lt;br&amp;gt;&lt;br /&gt;
- access failed.&lt;br /&gt;
&lt;br /&gt;
3.3)&amp;lt;br&amp;gt;&lt;br /&gt;
- root do &amp;quot;su - A&amp;quot;, start a shell with new session.&amp;lt;br&amp;gt;&lt;br /&gt;
- access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find existing context, initiate authentication of A.&amp;lt;br&amp;gt;&lt;br /&gt;
- can&amp;#039;t find kerberos TGT, authentication failed.&amp;lt;br&amp;gt;&lt;br /&gt;
- access failed.&lt;br /&gt;
&lt;br /&gt;
4) user A setuid to root &amp;lt;br&amp;gt;&lt;br /&gt;
support both root and A have login system and authenticated with Lustre&lt;br /&gt;
servers.&lt;br /&gt;
&lt;br /&gt;
4.1)&amp;lt;br&amp;gt;&lt;br /&gt;
- process of A set fsuid to root, access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- find existing context of A for this session for RPC.&amp;lt;br&amp;gt;&lt;br /&gt;
- server detect A try to setuid to root, grant or deny.&amp;lt;br&amp;gt;&lt;br /&gt;
4.2)&amp;lt;br&amp;gt;&lt;br /&gt;
- process of A set real uid to root, access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- find existing root context for RPC.&amp;lt;br&amp;gt;&lt;br /&gt;
- server treat it as root try to setuid to A, grant or deny.&amp;lt;br&amp;gt;&lt;br /&gt;
4.3)&amp;lt;br&amp;gt;&lt;br /&gt;
- process of A set real uid and fsuid to root, access Lustre.&amp;lt;br&amp;gt;&lt;br /&gt;
- find existing root context for RPC.&amp;lt;br&amp;gt;&lt;br /&gt;
- server treat it as root access.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Category ==&lt;br /&gt;
[[Category:Architecture|PAG]]&lt;/div&gt;</summary>
		<author><name>Adilger</name></author>
	</entry>
</feed>