aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-14 19:02:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-14 19:02:01 +0000
commita0481cfb26770fb2b8a8a7cd833baca2dac187fa (patch)
tree81122dc43f5c4c0ddfbc71ff8652ffe70fa7d4a6 /package/base-files/files/etc
parent8f83f4a62f542dafa9cf3b1000b826269ca6de30 (diff)
downloadupstream-a0481cfb26770fb2b8a8a7cd833baca2dac187fa.tar.gz
upstream-a0481cfb26770fb2b8a8a7cd833baca2dac187fa.tar.bz2
upstream-a0481cfb26770fb2b8a8a7cd833baca2dac187fa.zip
[package] base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly.
Solves broken key based dropbear login with empty password after r28935. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/passwd2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/passwd b/package/base-files/files/etc/passwd
index ca4fbad1b8..1d06a80361 100644
--- a/package/base-files/files/etc/passwd
+++ b/package/base-files/files/etc/passwd
@@ -1,4 +1,4 @@
-root::0:0:root:/root:/bin/ash
+root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/home/ftp:/bin/false
network:*:101:101:network:/var:/bin/false