From 942b75bbd88ce6ba303a950a16607109bae34205 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 30 May 2009 23:44:07 +0200
Subject: enable shadow passwords

- fix login as admin
- fix startup parameter (disable root login)
---
 package/dropbear/Makefile                | 2 +-
 package/dropbear/files/dropbear.postinst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/dropbear')

diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 186dae9af..0d9f4939f 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_STYLE=	gnu
 CONFIGURE_ARGS+=	--disable-pam \
 			--enable-openpty \
 			--enable-syslog \
-			--disable-shadow \
+			--enable-shadow \
 			--disable-lastlog \
 			--disable-utmp \
 			--disable-utmpx \
diff --git a/package/dropbear/files/dropbear.postinst b/package/dropbear/files/dropbear.postinst
index 1e45f3924..8cde82f3f 100644
--- a/package/dropbear/files/dropbear.postinst
+++ b/package/dropbear/files/dropbear.postinst
@@ -1,3 +1,3 @@
 #!/bin/sh
 . $IPKG_INSTROOT/etc/functions.sh
-add_rcconf '"NO" to disable' dropbear_flags ""
+add_rcconf '"NO" to disable' dropbear_flags "-w"
-- 
cgit v1.2.3