[16660] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux : ksu/kdestroy

daemon@ATHENA.MIT.EDU (Emil Sit)
Sat Jan 30 15:17:38 1999

To: sipb-athena-bugs@MIT.EDU
Cc: bugs@MIT.EDU
Date: Sat, 30 Jan 1999 15:17:36 EST
From: Emil Sit <sit@MIT.EDU>

System name:		snorklewacker
Type and version:	i686 
Display type:		XFree86 3.3.2.3 Mach64

What were you trying to do?
	kdestroy the root tickets that ksu gets for me.

What's wrong:
	kdestroy destroys both the krb5 ticket cache
	(i.e. whatever is in KRB5CCNAME) and the krb4 ticket
	file (i.e. whatever is in KRBTKFILE) by default. Since
	ksu doesn't bother to change KRBTKFILE (say, by getting
	krb4 root tickets too), if I just type "kdestroy", I
	will nuke my krb5 root tickets and whatever krb4
	tickets I was using before. This is annoying.
	I can of course type "kdestroy -c $KRB5CCNAME", but
	that just seems like a pain.

	Incidentally, the kdestroy manpage doesn't give any
	indication that it normally destroys both krb5
	and krb4 tickets. It doesn't talk about krb4 at all.

	Hm. Of course, it looks like ksu now deletes the
	root ticket cache when you exit the shell, according
	to its manpage. I don't think it used to do that.

What should have happened:
	ksu should do some sort of 524init and set KRBTKFILE so
	that kdestroy will DTRT.

	On the other hand, it might also additionally be useful
	if kdestroy had an easy way of saying "just destroy
	my krb5 ticket cache" and "just destroy my krb4 tickets".

Please describe any relevant documentation references:
	kdestroy(1), ksu(1).

home help back first fref pref prev next nref lref last post