Blame patches/dropbear/dropbear-shell-detection-hack.patch
|
Lucio Andrés Illanes Albornoz |
47fff4 |
diff -ru dropbear-2017.75.orig/svr-auth.c dropbear-2017.75/svr-auth.c
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
--- dropbear-2017.75.orig/svr-auth.c 2017-05-18 16:47:02.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
+++ dropbear-2017.75/svr-auth.c 2017-08-23 17:38:21.843211002 +0200
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
@@ -300,6 +300,7 @@
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
}
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
/* no matching shell */
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
endusershell();
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
+ return DROPBEAR_SUCCESS;
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
TRACE(("no matching shell"))
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
dropbear_log(LOG_WARNING, "User '%s' has invalid shell, rejected",
|
|
Lucio Andrés Illanes Albornoz |
47fff4 |
ses.authstate.pw_name);
|