From 0262cf31d3a63b8b406868ec905923705b025bc8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Sep 2013 01:09:23 +0200 Subject: patch security hole that allowed to to login as any user without password by using -f MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- got | 2 ++ 1 file changed, 2 insertions(+) (limited to 'got') diff --git a/got b/got index 7c88461..65619f2 100755 --- a/got +++ b/got @@ -37,5 +37,7 @@ else echo -n 'Login: ' fi +tty_settings="$(stty --save)" "$0".py "$@" <> "/dev/${tty}" 2>&1 +stty "${tty_settings}" -- cgit v1.2.3-70-g09d2