sysadmin:comandi_ssh_qnap
                Differences
This shows you the differences between two versions of the page.
| sysadmin:comandi_ssh_qnap [11/06/2017 07:04] – external edit 127.0.0.1 | sysadmin:comandi_ssh_qnap [20/12/2021 07:20] (current) – [Invio di una mail di errore] lrosa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Comandi ssh di QNAP ====== | ||
| + | =====Numero di serie===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Modello===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Aggiunta di un utente===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Aggiunta di uno share===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Controllo se ci sono aggiornamenti del firmware===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Aggiornamento firmware===== | ||
| + | <code bash> | ||
| + | |||
| + | =====Modifica della configurazione===== | ||
| + | <code bash> | ||
| + | getcfg «Gruppo» «Variabile» -f «File» | ||
| + | setcfg «Gruppo» «Variabile» «Valore» | ||
| + | </ | ||
| + | Se non viene specificato il file, il default è '' | ||
| + | |||
| + | Esempi: | ||
| + | <code bash> | ||
| + | getcfg System " | ||
| + | setcfg " | ||
| + | getcfg System " | ||
| + | </ | ||
| + | I file di configurazione si trovano in ''/ | ||
| + | |||
| + | =====Invio di una mail " | ||
| + | <code bash> | ||
| + | |||
| + | =====Invio di una mail di errore===== | ||
| + | <code bash> | ||
| + | |||
