The “salogin” client-side utility is provided to assist clients that do not include the requisite HSM login and logout capability within the client software. Run the utility from a shell or command prompt, or include it in scripts.
The salogin utility has a single command, with several arguments, as follows:
>salogin -h
Luna SA Login Utility 1.0 Arguments:
-o open
application access
-c close
application access
-i hi:lo
application id high and low component
-s slot
token slot id number (default = 1)
-u specifies
that login should be performed as the Crypto-User
if
no user type is supplied, the Crypto-Officer will be used
-p pswd challenge password - if not included, login will not be performed
-v verbose
-h this help
Examples:
salogin -o -s 1 -i 1:1
( open a persistent application connection on slot 1 with app id 1:1)
salogin -o -s 1 -i 1:1 -p HT7bHTHPRp/4/Cdb
(open a persistent application connection and login with Luna HSM Partition Password)
salogin -c -s 1 -i 1:1
(close persistent application connection 1:1 on slot 1)