|
Dimensione: 2073
Commento:
|
Dimensione: 1963
Commento:
|
| Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
| Linea 1: | Linea 1: |
| ## page was renamed from NaldiniPaoloProve [[BR]] ||<tablestyle="font-size: 18px; text-align: center; width:100%; background:red; margin: 0 0 0 0;" style="padding:0.5em;">'''ATTENZIONE: Questa è una pagina di prove, le seguenti informazioni possono essere inesatte, si sconsiglia la visione'''|| [[BR]][[BR]][[BR]][[BR]][[BR]] |
||<tablewidth="40%" tablestyle="margin: 0pt 0pt 1em 1em; float: right; font-size: 0.9em;"style="padding: 0.5em;">[[TableOfContents]]|| = Introduction = The configuration file {{{/etc/fstab}}} contain the necessary information to ''mount'' of the disk. This file comes read at the start of the system and can be modified only by [:SudoRoot:root] user. = Content of file = It is possible to visualize this file with the followed commands: {{{ cat /etc/fstab }}} The result of the previous commando will be similar to following: {{{ # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/hda1 UUID=12102C02102CEB83 /media/windows ntfs silent,umask=0,locale=it_IT.utf8 0 0 # /dev/hda2 UUID=cee15eca-5b2e-48ad-9735-eae5ac14bc90 none swap sw 0 0 # /dev/hda3 UUID=98E0-6D24 /media/dati vfat defaults,utf8,umask=007,uid=0,gid=46,auto,rw,nouser 0 0 # /dev/hda4 UUID=0aa86c61-0df9-4f1a-8b0b-34abbee6b769 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 0 /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0 }}} Every no-commented line is composed by six lives: ||<style="background-color:#FEB76D ; ":>'''Campo''' ||<style="background-color:#FEB76D ; ":>'''Descrizione''' || || file system || it indicates the containing device the rows system || || mount point || it indicates the directory (or mount point) from which it will be possible to approach the content of the device (for the swap is not demanded the mount point) || || type || type of file system || || options || options of access to the device (commando mount) || || dump || turn ON/OFF the backup of file system (the command dump). This option is __obsolete__ . || || pass || turn ON/OFF the control of coherence of the disc (the command fsck) || |
| Linea 7: | Linea 46: |
= root = Nei sistemi operativi di tipo Unix si indica con root l'utente dotato di massimi privilegi, ossia l'amministratore di sistema, detto anche super utente o superuser. [[BR]] L'account root su sistemi Unix è paragonabile a quello di administrator su sistemi Windows NT/XP/Vista. [[BR]] L'utente root può fare tutto ciò che si desidera sul sistema: questo che apparentemente sembra essere un vantaggio, in realtà in parte è uno svantaggio. È di fatto ritenuto pericoloso compiere le normali sessioni di lavoro come ad esmpio lanciare X in qualità di root. Infatti un qualsiasi programma lanciato in esecuzione da root ha potenzialmente la possibilità di effettuare qualunque operazione sulla macchina sulla quale viene eseguito. Se lo stesso programma viene lanciato in esecuzione da un utente con privilegi non amministrativi, non potrà effettuare operazioni pericolose come cancellare file essenziali per il sistema operativo. [[BR]] E' buona norma pertanto avere almeno due utenti sulla macchina di cui uno root ed un altro a scelta con privilegi non amministrativi e quest'ultimo sarà quello che verrà utilizzato per svolgere qualsiasi cosa col computer. [[BR]] Qualora occorresse eseguire programmi con privilegi di root, basta dare da shell {{{ sudo [applicazione] }}} ed inserire la password di root richiesta. Tuttavia quando è necessario avviare da terminale un'applicazione grafica usando i privilegi di root, bisogna usare il comando: [[BR]] per Gnome {{{ gksudo [applicazione] }}} o per KDE: {{{ kdesu [applicazione] }}} È sconsigliato usare sudo per avviare un'applicazione grafica, in quanto sudo non imposterà le variabili d'ambiente correttamente, in modo particolare in KDE. |
= Other resources = [:UsingUUID:UUID] |
Introduction
The configuration file /etc/fstab contain the necessary information to mount of the disk. This file comes read at the start of the system and can be modified only by [:SudoRoot:root] user.
Content of file
It is possible to visualize this file with the followed commands:
cat /etc/fstab
The result of the previous commando will be similar to following:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/hda1 UUID=12102C02102CEB83 /media/windows ntfs silent,umask=0,locale=it_IT.utf8 0 0 # /dev/hda2 UUID=cee15eca-5b2e-48ad-9735-eae5ac14bc90 none swap sw 0 0 # /dev/hda3 UUID=98E0-6D24 /media/dati vfat defaults,utf8,umask=007,uid=0,gid=46,auto,rw,nouser 0 0 # /dev/hda4 UUID=0aa86c61-0df9-4f1a-8b0b-34abbee6b769 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 0 /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
Every no-commented line is composed by six lives:
Campo |
Descrizione |
file system |
it indicates the containing device the rows system |
mount point |
it indicates the directory (or mount point) from which it will be possible to approach the content of the device (for the swap is not demanded the mount point) |
type |
type of file system |
options |
options of access to the device (commando mount) |
dump |
turn ON/OFF the backup of file system (the command dump). This option is obsolete . |
pass |
turn ON/OFF the control of coherence of the disc (the command fsck) |
Other resources
[:UsingUUID:UUID]
