Home >

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

audit login

Login to the HSM as the Audit role.

Note:  This command applies to slots with HSMs having older firmware only.
If the HSM in the current slot has firmware 6.22.0 or newer, then this command is replaced by role login .  

Syntax

audit login [-serial <serialnum>] [-password <password>]

Parameter Shortcut Description
-serial -s  <serialnum> HSM Serial Number - identifies which HSM is to accept the login, if you have a multiple SafeNet PCI-E HSM modules installed, or a Backup HSM or a SafeNet USB HSM locally connected to your host.
-password -p  <password>

The password of the HSM you are logging into.
Used for Password-authenticated HSMs. If you prefer not to write the password, in the clear, on the command line, leave it out and you are prompted for it.
Ignored for PED-authenticated HSMs.

 

If the audit log area in the HSM becomes full, the HSM stops accepting most commands, and does not prompt for password when login is requested. In that case, provide the password with the command, and the login is accepted.
Audit log full does not affect login for PED-auth HSMs.

Example

PED-authenticated HSM
lunacm:>audit login
Luna PED operation required to login as HSM Auditor - use Audit user (white) PED key.
'audit
Command Result : No Error
[myluna] lunacm:>
Password-authenticated HSM
[myluna]lunacm:>audit login
Please enter the password:
> ********
Command Result : No Error