Storage Software
1751937 Members
4577 Online
108783 Solutions
New Discussion юеВ

SSSU non-interactive mode

 
dany_aj
Occasional Contributor

SSSU non-interactive mode

SSSU can be invoked and run in command line by using the following format:

sssu "SELECT MANAGER USERNAME= PASSWORD=" "command1" "command2"...."commandn"

eg) sssu "SELECT MANAGER 127.0.0.1 USERNAME=administrator PASSWORD=xxx" "add vdisk Vdisk001 size=1" "ls vdisk Vdisk001"

This may come in handy when writing scripts using SSSU.
2 REPLIES 2
Aparna Nambiar
Occasional Contributor

Re: SSSU non-interactive mode

We could avoid having to type a password in cleartext by creating a password file for SSSU using the following steps.

1. Navigate to the folder where SSSU is located and issue the command sssu -a



ex,

c:\>sssu.exe -a

2. You will be asked for login credentials

ex,

C:\>sssu -a


SSSU for HP StorageWorks Command View EVA
Version: 9.2.0
Build: 0701109

Manager:127.0.0.1
Username:EVAAdmin
Password:

3. This creates an entry in the SSSU password file for the entered login, this can be verified by the command sssu -l

ex,

C:\>sssu -l

SSSU for HP StorageWorks Command View EVA
Version: 9.2.0
Build: 0701109

127.0.0.1 EVAAdmin

4. to delete an entry the command sssu -d can be used.


Once the password file entry is created, we can run a command as follows without the need to enter password.

sssu "SELECT MANAGER 127.0.0.1 USERNAME=administrator" "add vdisk Vdisk001 size=1" "ls vdisk Vdisk001"

Note: The password file is an encrypted file

BHASKAR GUNDA
Occasional Visitor

Re: SSSU non-interactive mode

Thanks for the steps to create password file. I have a question about the password file.

Where is this password file created and what is it named as?

 

Thanks,

Bhaskar