From 2ac42916a986abbc721a4920a6e8f7b12b4e8af7 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 19 Apr 2016 10:41:03 -0400 Subject: ensure that root can log in --- initramfs-tools/scripts/samizdat | 1 + 1 file changed, 1 insertion(+) (limited to 'initramfs-tools/scripts') 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() mount -o move /btrfs /root mkdir /root/cdrom mount -o move /cdrom /root/cdrom + sed -i -e 's/^root:x:/root::/' /root/etc/passwd set +x } -- cgit v1.2.3