comando syslock
Utilizzare questo comando per visualizzare e configurare le impostazioni di blocco del sistema.
Sintassi:
syslock [-options]
Opzione | Descrizione | Valori |
---|---|---|
-en | Abilita o disabilita la funzione di blocco della configurazione di sistema. Nota L'abilitazione con l'opzione | enabled, disabled |
-e | Abilita le impostazioni di blocco della configurazione di sistema con o senza applicare l'inventario corrente in un'istantanea attendibile. Nota Verrà impostato il valore predefinito se non è presente l'opzione | enabled, disabled |
-l [x] | Elenca l'inventario di un'istantanea specifica nell'indice x. | Il numero di indice x viene specificato come numero intero nell'opzione del comando. |
-m | Crea un'istantanea manuale. | |
-d | Descrizione dell'istantanea manuale. | Stringa contenente un massimo di 32 caratteri. |
-c | Elenca le differenze dell'inventario rispetto all'istantanea attendibile. | |
-po | Imposta i criteri di blocco. Nota L'azione impedirà l'avvio del server se Controllo del sistema è in uno stato non conforme. | none, osboot, pperm |
-cpu | Imposta il blocco CPU. | on, off |
-dimm | Imposta il blocco DIMM. | on, off |
-pci | Imposta il blocco PCI. | on, off |
-drive | Imposta il blocco dell'unità. | on, off |
-riser | Imposta il blocco della scheda verticale. | on, off |
-bp | Imposta il blocco del backplane. | on, off |
To show current status and snapshot list (trusted and history)
system> syslock
Current status: disabled
Policy: none
cpu: off
dXCC: off
pci: off
drive: off
riser: off
bp: off
No snapshot.
System changes have been detected!
Index In Use Date Description
----- -------- ------------------- ----------------
1 Yes 28/01/2022 15:32:59 Enforced by XCCroot.
2 No 28/01/2022 15:28:16 Boot by BMC.
system> syslock
Current status: disabled
Policy: none
cpu: off
dXCC: off
pci: off
drive: off
riser: off
bp: off
To list inventory of specific snapshot
system> syslock -l 1
Location Component ID Description
--------- -------------- ----------------
To enable/disable function.(enable with passphrase, and/or promote current inventory as trusted snapshot):
system> syslock -en enabled
ok
system> syslock -en disabled
ok
system> syslock -en disabled -p Passw0rd12 -e disabled
ok
To take manual snapshot:
system> syslock -m -d xyz
ok
To list inventory difference from trusted snapshot
System>syslock -c
system configuration changes have been detected:
Difference Location ID Description
-------------- ---------- --------------- ----------------------------------------------------------------
New device Drive 13 S0K2QRYC Drive 13, IBM-ESXS, 300GB 10K 6Gbps SAS 2.5"
To set lockdown policy:
system> syslock -po none/pperm/osboot
To set lockdown components:
system>syslock -cpu <on | off>
system>syslock -dXCC <on | off>
system>syslock -pci <on | off>
system>syslock -drive <on | off>
system>syslock -tpm <on | off>
system>syslock -riser <on | off>
system>syslock -bp <on | off>
system>syslock -board <on | off>
system>syslock -psu <on | off>
system>syslock -fan <on | off>
system>syslock -xccfw <on | off>
system>syslock -uefifw <on | off>
Envoyer des commentaires