1, EN (?), 03:41, 23/05/2003 [ответить] [к модератору]
| +/– |
'modprobe loop' before 'modprobe cryptoloop' if loop-support is NOT compiled in.
at RH9.0 ALL cryptoAPI modules already there.
DES is a weak cipher.So
'modprobe cipher-aes' and
'losetup -e aes -k 256' instead!! | |
2, EN (?), 03:44, 23/05/2003 [ответить] [к модератору]
| +/– |
And here is a simple bash-script. Change it to feet it in your sys.
#!/bin/bash
case "$1" in
start)
echo "Mounting encrypted file system - [crypto]"
/sbin/losetup -e aes -k 256 /dev/loop0 /dev/hdc1
/bin/mount -t ext2 /dev/loop0 /cfs
/bin/chmod 770 /cfs
echo "OK"
;;
stop)
echo "Unmounting encrypted file system - [crypto]"
/bin/umount /cfs
/sbin/losetup -d /dev/loop0
echo "OK"
;;
*)
echo "Usage: cfs {start|stop}"
exit 1
esac
exit $RETVAL
| |
4, ZZTop (?), 18:04, 13/03/2006 [ответить] [к модератору]
| +/– |
вот это:
dd if=/dev/zero if=/usr/testfs bs=1M count=50
заменить на:
dd if=/dev/zero of=/usr/testfs bs=1M count=50
=)) | |
|