[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how does /tmp encription work?
I tryed to encrypt /tmp like writen in the README loop-aes but it does't work?
>>First, unmount your existing /tmp partition by running "umount /tmp". >>There
>>may be open files in there, so you may have to do this from single user
>>mode.
>>
>>Second, add loop= encryption= and phash=random mount options to >>/etc/fstab
>>file. The sixth /etc/fstab field (fs_passno) must be zero so that fcsk >>will
>>not attempt to check this partition.
>>
>> /dev/hda555 /tmp ext2 >>defaults,loop=/dev/loop2,encryption=AES128,phash=random/1777 0 0
>> ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ >>^^^^^^^^^^^^^^^^^ ^
>>Third, run "mount /tmp" command and you are done.
>>
>>Octal digits after phash=random/ mount option specify initial permissions >>of
>>file system root directory that gets created on the loop device. 1777 >>means
>>read+write+search permissions for all and sticky bit set. Type "man 2 >>stat"
>>for more info about what each bit stands for.
The system ask me for the password at start-up, Why?
Where is the mistake?
Thanks in advance
Massimo
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/