summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-07-17 09:08:42 +0000
committerJavier Jardón <jjardon@gnome.org>2016-03-15 21:50:21 +0000
commit2b92b5adab9395dd3d392fb5c80a9f94ab519777 (patch)
treec9c5162b7182f617cf954e441b6564977a245f79
parent736d3fa05f324f75c8dbdb093af5cd7996e9a736 (diff)
downloadfhs-dirs-2b92b5adab9395dd3d392fb5c80a9f94ab519777.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