[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 2

dsmit-addkey Command

Purpose

Installs the DSMIT principal key in the local keytab file.

Syntax

dsmit-addkey SourceFile TargetFile

Description

The dsmit-addkey command adds the new DSMIT principal key for the local machine to the local keytab file.

Parameters

SourceFile Specifies the keytab file containing new keys. This file is created on the managing machine when you initialize or modify the DSMIT security configuration.
Attention: The SourceFile should be brought over to the local machine in a secure manner and you should delete it immediately after running the dsmit-addkey command.
TargetFile Specifies the keytab file used by DSMIT on the local machine.

Security

Access Control: You must have root authority to run this command.

Examples

To install the new principal key for the local machine:

  1. Transfer the new-v5srvtab file from the managing machine to /tmp/new-v5srvtab on the local machine.
  2. To add the new DSMIT principal key, enter:
    dsmit-addkey /tmp/new-v5srvtab /usr/share/DSMIT/security/v5srvtab
  3. Delete /tmp/new-v5srvtab by entering:
    del /tmp/new-v5srvtab

Files

/tmp/dsmit/new-v5srvtab Contains the file on the managing system that includes the new DSMIT principal keys created when you intialize or modify the DSMIT security configuration.
/usr/share/DSMIT/security/v5srvtab Contains the local machine's unique DSMIT principal key. The location of this file can be changed, for example, to the Kerberos v.5 or DCE keytab file by specifying the full path name in the DSMIT_KEYTAB_PATH environment variable.

Related Information

The dsmit-rmkey command.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]