[Git-commits] [grml/grml-debootstrap] a93156: don't fail to ask for a password if there is no TT...

Evgeni Golov evgeni at grml.org
Mon Feb 4 14:37:43 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: a93156ca9d385302a8b2f8092c15a2ca47306910
      https://github.com/grml/grml-debootstrap/commit/a93156ca9d385302a8b2f8092c15a2ca47306910
  Author: Evgeni Golov <evgeni at grml.org>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M chroot-script
    M grml-debootstrap

  Log Message:
  -----------
  don't fail to ask for a password if there is no TTY

When running grml-debootrap over ssh like
  ssh root at grml grml-debootstrap ...
the password promt for the root user would fail, as you cannot stty
without a tty. The user should actually have called
  ssh -t root at grml grml-debootstrap ...
which would have allocated a TTY and all would have worked.

Display a warning to the user and fall back to displaying the entered
password when he continues to use grml-debootstrap w/o a TTY.

Closes: issue1200





More information about the Git-commits mailing list