[OpenAFS] token oddities under Linux

Marc Schmitt schmitt@inf.ethz.ch
Thu, 25 Jul 2002 18:48:28 +0200


Hi Tino,

Thanks for your input.

Tino Schwarze wrote:

>>Worse:
>>I ssh from C to A as foo and create a token for foo.
>>I ssh from C to A as root and issue `su - foo`, `tokens` returns an 
>>empty list.
>>I ssh from C to B as foo and create a token for foo.
>>I ssh from C to B as root and issue `su - foo`, `tokens` returns the 
>>token of foo!
>>
>>
>>Why is the behavior under Linux diffrent from SunOS? And isn`t the 
>>behavior under Linux exactly NOT the way it should be?
>>
> 
> How do you get tokens on B? It looks like there is no PAG being created
> and therefore the token is associated to the UID as a last resort. Try
> using klog -setpag and all should be well(TM).


I get tokens with /usr/bin/klog on Linux and /usr/afsws/bin/klog on 
SunOS. I just tried `klog -setpag` on Linux, unfortunately it does not 
change anything. I can still take over to user with su and get the token.


Greetz
	Marc