[5944] in Kerberos

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

Re: How to remove principal ?

daemon@ATHENA.MIT.EDU (Phi H Truong)
Sat Sep 30 02:57:31 1995

To: kerberos@MIT.EDU
Date: 29 Sep 1995 21:25:39 GMT
From: orion@iastate.edu (Phi H Truong)
Reply-To: orion@iastate.edu (Phi H Truong)

In article <44f4ru$i1a@eco.twg.com>,
Reece R. Pollack <reece@eco.twg.com> wrote:
>
>In article <448ih1$m3e@aladdin.iii.org.tw>, root@linux.golden.com.tw (root) writes:
>|>I've install kerbero IV on Solaris 2.4. Everything is fine. But only I
>|>don't know how to remove a principal from kerberos' database. Is there
>|>any utility available for removing principal ? I've tried kadmin, but
>|>it doesn't contain the removal function.
>
>This was an (unfortunately) intentional omission. The only way to remove
>a principal from a V4 database is to dump the database, edit the dumped
>file with a text editor to remove the (un)desired records, then reload
>the database.
>

Look into the sources of libkdb you will find out that isn't hard to create
a facility to remove principal without dumping the database.  you shouldn't
remove the master key though, i.e. restrictions checking.


-- 
_____
Phi H. Truong              "No wisdom.  No enlightenment.  Only you."      
orion@iastate.edu          ISU Computation Center
Systems Analyst            237 Durham Center         ph: (515) 294 -1420

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