From 2a12a100d471b939364016fe635d121d0a209f87 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 17 Jul 2014 09:08:42 +0000 Subject: Add 'x' to the root user to use shadow by default After this change the root user will continue to be created without password, since /etc/shadow is also being populated. This will work also in systems without shadow, if busybox is installed with shadow support. --- passwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passwd b/passwd index 9bff55b..ed43dbd 100644 --- a/passwd +++ b/passwd @@ -1,4 +1,4 @@ -root::0:0:Super user:/root:/bin/sh +root:x:0:0:Super user:/root:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh sshd:x:50:50::/var/lib/sshd:/bin/false messagebus:x:105:107::/var/run/dbus:/bin/false -- cgit v1.2.1