[OpenAFS] token oddities under Linux

Tino Schwarze tino.schwarze@informatik.tu-chemnitz.de
Thu, 25 Jul 2002 17:03:55 +0200


Hi Marc,

On Thu, Jul 25, 2002 at 04:55:27PM +0200, Marc Schmitt wrote:

> Machine A (SunOS 5.8, OpenAFS 1.2.3)
> Machine B (RedHat 7.3, OpenAFS 1.2.5-rh7.3.1)
> Machine C (RedHat 7.1)
> 
[...]

> 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).

HTH! Tino.

-- 
             * LINUX - Where do you want to be tomorrow? *
                  http://www.tu-chemnitz.de/linux/tag/