Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
\#21 Zeichen von der Tastatur lesen in die Variable PASS
read \-s \-n 21 \-p "Passwort :" PASS
echo $PASS\|cryptsetup \-c aes-cbc-essiv:sha256 create $NAME $DEV
if \[ $? \-ne 0 \]
then
         echo "cryptsetup fehlgeschlagen"
         exit 1
fi
mount /dev/mapper/$NAME $ii
\\

1.2 Verschlüsseltes Dateisystem in einer Datei

...