cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
burisv
Level 7
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
Level 11
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 🙂

McAfee Employee BEllis
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?

More McAfee Tools to Help You
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • Visit: Business Service Portal
  • More: Search Knowledge Articles
  • ePolicy Orchestrator Support

    • Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center