Eseguire la seguente procedura:
Categoria:Sistemi operativi
Rescan SCSI su Ubuntu
Per effettuare il rescan dello scsi bus usare la seguente procedura:
Cercare e rimuovere file
Nel caso in cui si debbano cancellare dei file contenuti in cartelle in base ad un pattern usare il seguente comando: find . -type f -name “log20230*.txt” -print0 | xargs -0 rm
RHEL subscription
Per aggiungere una subscription ad un sistema RHEL usare il comando: subscription-manager register –username <nome utente> –password <password> –auto-attach
Scan SCSI bus – RedHAT
Per effettuare un rescan del bus scsi sui sistemi Linux usare il seguente comando: for disco in $(ls /sys/class/scsi_host/host*/scan); do echo “- – -” > $disco; done
Modificare group ID
groupmod -g 500 gruppo
Modificare user ID
usermod -u 500 utente
Da evaluation a standard
Per trasformare una distribuzione windows in standard da evaluation usare la seguente procedura:
Verifica runlevel
[root@localhost ~]# runlevel N 3 [root@localhost ~]# who -r run-level 3 2024-02-17 12:11
Analisi struttura directory
[root@localhost ~]# tree -dugp /etc/systemd/ /etc/systemd/ ├── [drwxr-xr-x root root ] system │ ├── [drwxr-xr-x root root ] basic.target.wants │ ├── [drwxr-xr-x root root ] default.target.wants │ ├── [drwxr-xr-x root root ] dev-virtio\\x2dports-org.qemu.guest_agent.0.device.wants │ ├── [drwxr-xr-x root root ] getty.target.wants …
Continua a leggere Analisi struttura directory