If you do this, you want to use kdestroy to delete the ccache, because
it is careful to write zeros over the keying material, rather than
just unlinking the file.

                Marc

Dan Riley <[EMAIL PROTECTED]> writes:

>> Paul Johnson <[EMAIL PROTECTED]> writes:
>> > This would seem to mean calling kadmin and getting the administrator
>> > to authenticate.  But I can't get it to work.  kadmin seems not to
>> > be reading the admin password from stdin.
>> 
>> You can use kinit to create an appropriate credentials cache and feed
>> that to kadmin--something like:
>> 
>>     until kinit -c /tmp/krb5cc_admin$$ -S kadmin/admin ${USER}/admin
>>     do
>>         echo password incorrect
>>     done
>>     kadmin -c /tmp/krb5cc_admin$$ <<EOF
>> ...
>> EOF
>>     rm -f /tmp/krb5cc_admin$$
>> 
>> -- 
>> Dan Riley                                         [EMAIL PROTECTED]
>>  "Mr. Ellison is presently the sole member of the Plan Committee.  The
>>   Plan Committee did not meet during fiscal year 2001, and during that
>>        same period, acted 46 times by unanimous written consent."

Reply via email to