Storage Software
1752701 Members
6749 Online
108789 Solutions
New Discussion

Urgent help needed for "SSSU -a" through script

 
yojana
Occasional Advisor

Urgent help needed for "SSSU -a" through script

Hi,

I want to execute "SSSU -a" which adds the user to password file from a script.The problem is that when I use the command "SSSU -a" on command line it prompts me for more inputs as below.

------------
# ./sssu_linux_x86 -a


SSSU for HP StorageWorks Command View EVA
Version: 8.0.0
Build: 111307A

Manager:servername
Username:hpadmin
Password:
------------

If I've to execute this command from the script, how do I specify the rest of the (prompted) parameters like manager, username and password?

If I try to execute following I get an error

---------------------
#./sssu_linux_x86 -a "select manager servername username=hpadmin password=pwd"


SSSU for HP StorageWorks Command View EVA
Version: 8.0.0
Build: 111307A
NoSystemSelected> -a
^
Error: Syntax error at or near here
---------------------

So let me know how we can achieve adding user to password file using SSSU command in scripts.

Appreciate urgent help.

Thanks,
Yojana
1 REPLY 1
Thomas Callahan
Valued Contributor

Re: Urgent help needed for "SSSU -a" through script