Informazioni su systemsetup in Remote Desktop
Lo strumento a linea di comando systemsetup viene installato con macOS e può essere utilizzato per modificare le impostazioni del client. Qualsiasi comando che include systemsetup verrà eseguito in Remote Desktop usando l'attività “Invia comando UNIX”.
Trova sintassi a linea di comando, spiegazioni ed esempi nel prompt dell'aiuto dello strumento:
sudo systemsetup -helpAssicurati di far precedere systemsetup da sudo.
Alcune delle funzionalità di systemsetup sono elencate di seguito.
| Contrassegno | Descrizione | 
|---|---|
| -setallowpowerbuttontosleepcomputer (on | off) | Abilita o disabilita il pulsante d'accensione per mettere il computer in stop. Ad esempio: systemsetup -setallowpowerbuttontosleepcomputer on | 
| -setdate mm:dd:yy | Imposta mese, giorno e anno attuali. Ad esempio: systemsetup -setdate 04:09:13 | 
| -setlocalsubnetname name | Imposta il nome dell'host locale a  systemsetup -setlocalsubnetname LabMac1 | 
| -setnetworktimeserver timeserver | Definisce un network time server. Inserisci l'indirizzo IP o il nome del DNS per il network time server. Ad esempio: systemsetup -setnetworktimeserver time.apple.com | 
| -setremotelogin ( on | off ) | Imposta il login remoto (SSH) su no o off. Importante: Se impedisci il login remoto, non sarai più in grado di amministrare il computer utilizzando l'SSH per il login remoto. Ad esempio: systemsetup -setremotelogin on | 
| -setrestartfreeze ( on | off ) | Specifica se il computer si deve riavviare automaticamente dopo che il sistema si è bloccato. Ad esempio: systemsetup -setrestartfreeze on | 
| -setrestartpowerfailure ( on | off ) | Specifica se il computer si deve riavviare automaticamente dopo un calo di corrente. Ad esempio: systemsetup -setrestartpowerfailure on | 
| -setsleep minutes | Imposta il tempo di inattività prima che il computer passi in modalità di stop. Specifica “Never” o “Off” per i computer che non devono mai passare a modalità di stop. Se imposti il sistema in modalità di stop, non sarai in grado di amministrare il computer in modalità remota mentre è in modalità di stop. Ad esempio: systemsetup -setsleep 60 | 
| -settime hh:mm:ss | Imposta il tempo attuale. Il tempo fornito dovrebbe essere in formato 24 ore. Ad esempio: systemsetup -settime 16:20:00 | 
| -settimezone timezone | Imposta il fuso orario locale. Utilizza -listtimezonesper elencare i fusi orari validi. Ad esempio: systemsetup -settimezone US/Pacific | 
| -setusingnetworktime ( on | off ) | Specifica se l'uso del tempo del network è attivo oppure no. Ad esempio: systemsetup -setusingnetworktime on | 
| -setWaitForStartupAfterPowerFailure seconds | Imposta il numero di secondi dopo cui il computer si riavvierà in seguito a un calo di corrente. Il valore secondi dev'essere un multiplo di 30 secondi. Ad esempio: systemsetup -setWaitForStartupAfterPowerFailure 30 | 
| -setwakeonnetworkaccess ( on | off ) | Specifica se il computer si riattiva dallo stop quando gli viene spedito un pacchetto dall'admin del network. Ad esempio: systemsetup -setwakeonnetworkaccess on |