Πώς να κρυπτογραφήσει μια κίνηση αντίχειρων USB σε Ubuntu

από Γνώση Murray [[on]] 12 Νοεμβρίου 2008

Linux Ασφάλεια

Το TrueCrypt είναι μια ελεύθερη, ανοικτή πηγή, σύστημα για και -ο-μύγα-κρυπτογραφημένη filesystem. Το TrueCrypt είναι διαθέσιμο για Linux, τα Windows, και τη MAC OS Χ. Οι κρυπτογραφημένοι όγκοι μπορούν να χρησιμοποιηθούν με οποιοδήποτε υποστηριγμένο OS ανεξάρτητα από ποιο OS δημιουργήθηκαν.

  1. Για να εγκαταστήσει την επίσκεψη TrueCrypt http://www.truecrypt.org/downloads.php, τυλίξτε κάτω Linux, επίλεκτος Ubuntu - x86.deb, χτυπήστε έπειτα Μεταφορτώστε.

  2. χτυπήστε για να διευρύνετε

  3. Όταν μεταφορτώστε είναι πλήρης, κοιτάζει βιαστικά σε τον στη μηχανή αναζήτησης αρχείων, σωστός-κρότος σε τον, και επιλέγει Απόσπασμα εδώ.

  4. χτυπήστε για να διευρύνετε

  5. Τώρα το διπλό χτύπημα στο αποσπασματικό αρχείο και χτυπά Τρέξιμο όταν προτρέπεται τι για να κάνει με το αρχείο.

  6. χτυπήστε για να διευρύνετε

  7. Έπειτα, χτυπήστε Αρχείο συσκευασίας αποσπασμάτων .deb.

  8. χτυπήστε για να διευρύνετε

  9. Πρέπει να συμφωνήσετε με την άδεια TrueCrypt. Χτυπήστε Δέχομαι και συμφωνώ να δεσμευθώ από τους όρους αδειών.

  10. χτυπήστε για να διευρύνετε

  11. Η συσκευασία εγκαταστάσεων TrueCrypt εξάγεται και τοποθετείται /tmp

  12. χτυπήστε για να διευρύνετε

  13. Η χρησιμοποίηση της μηχανής αναζήτησης αρχείων, κοιτάζει βιαστικά /tmp και σωστός-κρότος TrueCrypt .deb αρχείο, έπειτα επίλεκτο Ανοίξτε με «τον εφαρμοστή συσκευασίας GDebi».

  14. χτυπήστε για να διευρύνετε

  15. Τώρα χτυπήστε Εγκαταστήστε τη συσκευασία.

  16. χτυπήστε για να διευρύνετε

  17. Όταν προτρέπεται, πληκτρολογέστε τον προσωπικό κωδικό σας και χτυπήστε ΕΝΤΑΞΕΙ.

  18. χτυπήστε για να διευρύνετε

  19. Ο διευθυντής συσκευασίας θα μεταφορτώσει αυτόματα και θα εγκαταστήσει οποιεσδήποτε εξαρτήσεις καθώς επίσης και θα εγκαταστήσει TrueCrypt.

  20. χτυπήστε για να διευρύνετε


    χτυπήστε για να διευρύνετε

  21. Τρέξιμο TrueCrypt με τον κρότο Εφαρμογές -> Άλλος -> TrueCrypt.

  22. χτυπήστε για να διευρύνετε

  23. Χτυπήστε Δημιουργήστε τον όγκο για να αρχίσει Μάγος δημιουργιών όγκου.

  24. χτυπήστε για να διευρύνετε

  25. Σε αυτό το παράδειγμα πρόκειται να δημιουργήσω έναν κρυπτογραφημένο όγκο σε ένα ολόκληρο ραβδί USB παρά το κρυπτογραφημένο προεπιλογή εμπορευματοκιβώτιο αρχείων. Χτυπήστε Δημιουργήστε έναν όγκο μέσα σε ένα χώρισμα/μια κίνηση κατόπιν χτυπήστε Έπειτα.

  26. χτυπήστε για να διευρύνετε

  27. Ο τύπος όγκου προεπιλογής είναι α Τυποποιημένος όγκος TrueCrypt, το οποίο είναι λεπτό με με. Χτυπήστε Έπειτα.

  28. χτυπήστε για να διευρύνετε

  29. Έπειτα πρέπει να επιλέξουμε Θέση όγκου. Χτυπήστε Επιλέξτε τη συσκευή.

  30. χτυπήστε για να διευρύνετε

  31. Το ραβδί USB μου παρουσιάζει όπως /dev/sdb, έτσι επέλεξα /dev/sdb και χτυπημένος ΕΝΤΑΞΕΙ. Το ραβδί USB σας μπορεί να παρουσιάσει ως διαφορετική συσκευή. Σιγουρευτείτε ότι επιλέγετε τη σωστή συσκευή.

  32. χτυπήστε για να διευρύνετε

  33. Τώρα Θέση όγκου παρουσιάζει /dev/sdb. Χτυπήστε Έπειτα.

  34. χτυπήστε για να διευρύνετε

  35. Όταν παρακινούμενοι εάν είστε βέβαιοι θέλετε να κρυπτογραφήσετε την ολόκληρη συσκευή, χτυπήστε Ναι.

  36. χτυπήστε για να διευρύνετε

  37. Το ακόλουθο μήνυμα λάθους με εξέπληξε. Θα είχα αν και TrueCrypt θα μου είχε δώσει την επιλογή να διαγράψει τα χωρίσματα. Instead I had to do it manually. Click OK.

  38. click to enlarge

  39. Now click Applications -> Accessories -> Terminal.

  40. click to enlarge

  41. The following steps will delete the existing partition from the USB stick. This will erase any files on the device so make sure you have a backup if there’s anything on it that you want to keep.

    In the terminal window type sudo fdisk /dev/sdb substituting sdb with the correct device name for your USB stick. Enter your password if prompted, then simply enter d to delete the partition, then w to write the changes to the device. Close the terminal window.


  42. click to enlarge

  43. Now we’re back at the TrueCrypt Volume Creation Wizard. Click Next.

  44. click to enlarge

  45. Enter your password when prompted and click OK.

  46. click to enlarge

  47. The default Encryption Options are good enough for me. Click Next.

  48. click to enlarge

  49. Now enter and confirm the password you want to use for your encrypted volume, then click Next.

  50. click to enlarge

  51. TrueCrypt warned me that the password I chose was too short, but seeing how this is just an example I clicked Yes to confirm that I was fine with the short password.

  52. click to enlarge

  53. I chose to accept the default Format Options. Note that if you want to be able to use your encrypted USB stick with Windows systems too, you must use the FAT filesystem. Click Next.

  54. click to enlarge

  55. Wiggle your mouse cursor around within the TrueCrypt window for a bit, then click Format.

  56. click to enlarge

  57. You will be warned that all files currently on your USB stick will be erased. Click Yes.

  58. click to enlarge

  59. You might want to grab a coffee at this stage. Formatting the volume took far longer for me than the estimated 105 seconds.

  60. click to enlarge

  61. Hopefully when you come back from coffee, you’ll see the following and click OK.

  62. click to enlarge

  63. We’re not going to create another TrueCrypt volume, so click Exit.

  64. click to enlarge

  65. Now we need to mount the encrypted volume so we can use it. Select Slot 1 in the top pane, then click Select Device.

  66. click to enlarge

  67. I chose /dev/sdb and clicked OK.

  68. click to enlarge

  69. Now click Mount.

  70. click to enlarge

  71. Enter the password you chose when encrypting the volume and click OK.

  72. click to enlarge

  73. Note that the encrypted volume now shows up in the top pane and an icon representing the encrypted volume has appeared on the desktop. Click Exit.

  74. click to enlarge

  75. Double-click on the TrueCrypt volume icon on the desktop and you have a fresh, blank, encrypted disk to use just as you would any other disk.

  76. click to enlarge

  77. When you are finished using your encrypted volume, open TrueCrypt again by selecting Applications -> Other -> TrueCrypt. Select your encrypted volume in the top pane, then click Dismount.

  78. click to enlarge

  79. TrueCrypt unmounts the volume and you should see that the top pane is now empty.

  80. click to enlarge

Related Posts:
  • How to securely store files in Windows
  • How to mount a remote filesystem in Ubuntu
  • How to automatically sign in to Ubuntu
  • How to move or copy photos from your digital camera to your PC in Ubuntu
  • How to increase the screen resolutions available to Ubuntu while running in Parallels for OS X
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 3 comments… read them below or add one }

    1 gnuman 11.13.08 at 6:31 am

    Great tutorial on how to use TrueCrypt to encrypt a USB drive.

    2 AlesZib 12.21.08 at 11:03 pm

    I was just wondering, can I use such encrypted USB on other PCs. I guess they need to have TrueCrypt instaled? Is it possible to have the program for both ubuntu and Windows on a USB and run it from there (they of course should not be encrypted)?

    3 Marcos 02.02.09 at 10:50 am

    Hay alguna manera de que el montado/desmontado del USB se haga de forma Automatica tanto Windows como en Ubunutu?

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>