summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 23:44:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 23:44:07 +0200
commit942b75bbd88ce6ba303a950a16607109bae34205 (patch)
tree02f43176e5cefd345c30cb02f12693532d177c61
parent5e82ed3e9ada7f5c9e66db5568032a49f66a6e93 (diff)
enable shadow passwords
- fix login as admin - fix startup parameter (disable root login)
-rw-r--r--package/dropbear/Makefile2
-rw-r--r--package/dropbear/files/dropbear.postinst2
2 files changed, 2 insertions, 2 deletions
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"