summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-19 10:41:03 -0400
committerAndrew Cady <d@jerkface.net>2016-04-19 10:41:03 -0400
commit2ac42916a986abbc721a4920a6e8f7b12b4e8af7 (patch)
tree6def20b17eb6a1f2fd95b6c59cc216aab56dbae3
parenta04c756debe866d251d484a119e78c4bd1715738 (diff)
ensure that root can log in
-rw-r--r--initramfs-tools/scripts/samizdat1
1 files changed, 1 insertions, 0 deletions
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat
index 51b124a..81a38d5 100644
--- a/initramfs-tools/scripts/samizdat
+++ b/initramfs-tools/scripts/samizdat
@@ -10,5 +10,6 @@ mountroot()
10 mount -o move /btrfs /root 10 mount -o move /btrfs /root
11 mkdir /root/cdrom 11 mkdir /root/cdrom
12 mount -o move /cdrom /root/cdrom 12 mount -o move /cdrom /root/cdrom
13 sed -i -e 's/^root:x:/root::/' /root/etc/passwd
13 set +x 14 set +x
14} 15}