Home >

Lunacm Command Reference Guide > LunaCM Commands > partition > partition login

partition login

Login to the partition.

Syntax

partition login [-password <password-or-challenge>] [-cu] [-ped <ped Id>]

Parameter Shortcut Description
-password -pa Applies to Password-authenticated HSMs; ignored for PED-authenticated HSMs.
Specifies the Partition Owner or Crypto Officer password, to be used as login credential. As shown, you can supply the password at the command line (useful for scripting). Normally, however, you should leave out the password when issuing the command. If the password is not provided, you are prompted for it, and your response is obscured by asterisk (****) symbols. This a more secure method of providing the password.
-cu -c Perform the operation as Crypto User.
-ped -pe Applies to PED-authenticated HSMs, only. This option is a temporary way to override PED ID settings or default.

The PED Id parameter is optional. (0=local,1...65535=remote)
If '0' is specified, the locally attached PED is used. If a value between 1 and 65535 is specified, the remote PED corresponding to that PED Id is used.

If nothing is specified, then the value stored in the library for this slot is used. Unless the value stored in the library has been changed by using the 'ped set' command, or the 'PEDId' parameter in the 'Luna' section of cryptoki.ini, the value in the library is '0'.

NOTE: The '-ped' option asserts for the duration of this login command, only. After the login completes, any PED ID that was set by the '-ped' option then reverts to whatever value was in effect before "partition login -ped <PED Id>".

Example