PreviousNext

Removing Keytab Files

You can remove local and keytab files and their associated dced objects by using the dcecp keytab delete command.

To delete the local keytab file and the dced object, supply the local filename to the command. You can delete multiple keytab files with one command by enclosing the names in braces and separating them with spaces. For example, the following deletes the keytab files and the dced objects /.:/hosts/foo/config/keytab/kfile_2 and /.:/hosts/foo/config/keytab/kfile_3.

dcecp> keytab delete {/.:/hosts/foo/config/keytab/kfile_2 \
> /.:/hosts/foo/config/keytab/kfile_3 }
dcecp>

To delete only the dced object, use the -entry option.

For example, the following command removes the dced object named /.:/hosts/foo/config/keytab/kfile_3, but leaves the local file /opt/dcelocal/keys/kfile_3 untouched.

dcecp> keytab delete -entry /.:/hosts/foo/config/keytab/kfile_3
dcecp>