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

dsmit-dec Command

Purpose

Decrements or resets /usr/share/DSMIT/security/dslock.ctr file.

Syntax

dsmit-dec Number

Description

The dsmit-dec command modifies the /usr/share/DSMIT/security/dslock.ctr file. Use this command when you get the message Manually decrement counter in dslock.ctr. It can also be usedl if DSMIT abnormally terminates, or if one of the keys cannot be obtained.

Parameters

Number Specifies the amount the current value in dslock.ctr file is to be decremented. If Number is positive, the dsmit-dec command will decrement the current value in the dslock.ctr file by that amount. If Number is zero, it will reset the dslock.ctr file to zero.

Security

Access Control: You must be a registered DSMIT administrator to run this command.

Examples

  1. To decrement the dslock.ctr file by 1, enter:
    dsmit-dec 1
  2. To reset the dslock.ctr file, enter:
    dsmit-dec 0

Files

/usr/share/DSMIT/security/dslock.ctr Contains the number of current locks for DSMIT.

Related Information

The dsmit-unlock command.


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