Comment protéger mon DisqueDure ?

Bonjour,

j'ai un disque dur partager sur 5 partie, 2partition pour Linux (XFS+SWAP),
les autre 3 est NTFS, (wic_C,pour windous,win_D et win_E pour mes fichier et dossier).

alors, comment protéger ces 3 partition avec un mot de passe ?

merci pour votre aide
^_^
Configuration: Linux Fedora
Firefox 3.0.2

6 réponses

  1. salut,
    dans le fstab tu peux déterminer des droits et interdictions mais je ne sais pas comment exactement
    1. donne déjà les résultats de

      sudo /sbin/fdisk -l

      ls -al /dev/disk/by-uuid

      cat /etc/fstab
      1. salut dindoun, merci pour votre aide ;

        j'utilise fedora 9, le resultat est ..

        [root@localhost ~]# fdisk -l
        
        Disk /dev/sda: 250.0 GB, 250059350016 bytes
        255 heads, 63 sectors/track, 30401 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes
        Disk identifier: 0x11c211c2
        
           Device Boot      Start         End      Blocks   Id  System
        /dev/sda1   *           1        6378    51231253+   7  HPFS/NTFS
        /dev/sda2            6379       30400   192956715    f  W95 Ext'd (LBA)
        /dev/sda5           13285       20190    55472413+   7  HPFS/NTFS
        /dev/sda6           20191       26543    51030441    7  HPFS/NTFS
        /dev/sda7           26544       26581      305203+  83  Linux
        /dev/sda8           26582       30005    27503248+  83  Linux
        /dev/sda9           30006       30400     3172806   82  Linux swap / Solaris
        /dev/sda10           6379       12901    52395934+  83  Linux
        /dev/sda11          12902       13284     3076416   82  Linux swap / Solaris
        
        Partition table entries are not in disk order
        


        [root@localhost ~]# ls -al /dev/disk/by-uuid 
        total 0
        drwxr-xr-x 2 root root 200 2008-10-16 08:16 .
        drwxr-xr-x 6 root root 120 2008-10-16 08:16 ..
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 -> ../../sda8
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 20ea1bd9-fd1b-447d-90fc-c8baaec4f5ca -> ../../sda7
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 2A100A071009DAA9 -> ../../sda1
        lrwxrwxrwx 1 root root  11 2008-10-16 08:16 b030496b-9699-41ba-897d-9797ea345098 -> ../../sda11
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 cda5fbf2-67c5-11dd-9f9c-4383c22ae127 -> ../../sda9
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 E8D08CE9D08CBF76 -> ../../sda6
        lrwxrwxrwx 1 root root  10 2008-10-16 08:16 EE74823774820297 -> ../../sda5
        lrwxrwxrwx 1 root root  11 2008-10-16 08:16 f2e85f5b-1af3-4962-abb0-9fb77abf6bbc -> ../../sda10
        


        [root@localhost ~]# cat /etc/fstab
        UUID=f2e85f5b-1af3-4962-abb0-9fb77abf6bbc /                       ext3    defaults        1 1
        tmpfs                   /dev/shm                tmpfs   defaults        0 0
        devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
        sysfs                   /sys                    sysfs   defaults        0 0
        proc                    /proc                   proc    defaults        0 0
        UUID=cda5fbf2-67c5-11dd-9f9c-4383c22ae127 swap                    swap    defaults        0 0
        UUID=b030496b-9699-41ba-897d-9797ea345098 swap                    swap    defaults        0 0
        
        1. je suppose que
          "comment protéger ces 3 partition avec un mot de passe ? "
          signifie t-il que tu veux interdire d'écrire dessus quand tu es sous linux ?
          1. su -s


            création du point de montage
            mkdir -p /windows/C &&  mkdir /windows/D   &&  mkdir /windows/E && yum install fuse ntfs-3g
            


            vérification de fuse
            lsmod | grep fuse 

            doit donner fuse 56456454 4 ( nb quelconques ) sinon modprobe fuse

            à la fin de ton fstab, rajoute

            UUID=2A100A071009DAA9 /windows/C ntfs-3g silent,umask=0222,utf8=true
            UUID=EE74823774820297 /windows/D ntfs-3g silent,umask=0222,utf8=true
            UUID=E8D08CE9D08CBF76 /windows/E ntfs-3g silent,umask=0222,utf8=true

            et
            mount -a