Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Change ESXi security settings via CLI

Writer Olivia Zamora

Is there a way to change security settings of an ESXi (6.7u2) via CLI ? Standard advanced settings can be modified by the following command :

esxcli system settings advanced set -o /Mem/ShareForceSalting -i 2 

Or kernel settings can be change with the command :

esxcli system settings kernel set -s hyperthreading -v FALSE 

But I can't fin a way to change security parameters from CLI (it's okay with GUI). For instance, I'm unable to change theses parameters from CLI :

  • Security.AccountUnlockTime
  • Security.AccountLockFailures
  • ...

Can someone help on that ?

4

1 Answer

The security settings are not listed in available parameters with

esxcli system settings advanced list | grep “Security”.

I haven’t found also in other namespaces like security and account.

But you can manage this settings via PowerCLI :

Set-VMHostAdvancedConfiguration Security.AccountLockFailures -Value 10
Set-VMHostAdvancedConfiguration Security.AccountUnlockTime -Value 100

References:

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy