cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 5

How to pass the Solid Core password to sadmin commmands as a command line parameter

We have Solid Core v6 installed on mutiple client sites. The Solid Core is enabled with a password and CLI is locked down.

When applying software updates, we will use sadmin commands to change the Solid Core from enabled to update mode, run the software updates and then change the Solid Core back to enabled mode.

We like to automate this process by putting those commands in a batch file. The issue we have is the the Solid Core commands to change mode require us to enter the pasword.

Does Solid Core support passing the passward as a commandline arguement? If not, what should we do to automate the software update procedure?

4 Replies

Re: How to pass the Solid Core password to sadmin commmands as a command line parameter

Why not use some combination of server/client tasks? There is already a client task to put devices in update mode. Just some mechanism to trigger that and then trigger the other one to end update mode.
cbr
Level 9
Report Inappropriate Content
Message 3 of 5

Re: How to pass the Solid Core password to sadmin commmands as a command line parameter

Did you already find a solution?

wouterr
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 5

Re: How to pass the Solid Core password to sadmin commmands as a command line parameter

sadmin recover -z <password> should do the trick

Storing plaintext passwords in scripts is however not really a good solution 🙂

BenEllis
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 5

Re: How to pass the Solid Core password to sadmin commmands as a command line parameter

sadmin password -z <password> in a bat file will pass it. but your password will be visable in plain text.

McAfee Support

Benjamin Ellis

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community