summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-07-17 09:08:42 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-07-17 10:54:20 +0100
commit2a12a100d471b939364016fe635d121d0a209f87 (patch)
treec9c5162b7182f617cf954e441b6564977a245f79
parent003dd162003b6460f0afe4b7c88c758ccb657965 (diff)
downloadfhs-dirs-2a12a100d471b939364016fe635d121d0a209f87.tar.gz
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.
-rw-r--r--passwd2
1 files changed, 1 insertions, 1 deletions
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