X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=cbd1938e7ed8cfc61c3c0c6bdeba8067416737a7;hp=6b5fa173be284b9981068475a4c7b29e4640e1ef;hb=a93156ca9d385302a8b2f8092c15a2ca47306910;hpb=488643ab1a3e97a77bdb01f1070c8e83c6b346f9 diff --git a/grml-debootstrap b/grml-debootstrap index 6b5fa17..cbd1938 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -730,6 +730,12 @@ else # if not running automatic installation display configuration and prompt fo [ -n "$VMSIZE" ] && echo " Using Virtual Disk file with size of ${VMSIZE}." fi + if [ ! -t 0 -a -z "$ROOTPASSWORD" -a -z "$NOPASSWORD" ] ; then + echo + echo " You do not have a TTY allocated, your password will be shown in" + echo " plaintext on the terminal! If you are using SSH, try its -t option!" + fi + echo echo " Important! Continuing will delete all data from ${TARGET}!"