HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Storage Software
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Thomas Callahan
Valued Contributor

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