From ec87c65d9e10e4bcc7d149d4e600ad0f79417d57 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 10 Jun 2026 20:56:33 +1200 Subject: add etc shadow with no root passwd --- nix/rootfs.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nix') diff --git a/nix/rootfs.nix b/nix/rootfs.nix index de3876a..75be0d8 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation { echo "devtmpfs /dev devtmpfs defaults 0 0" >> rootfs/etc/fstab echo "root:x:0:0:root:/root:/bin/sh" > rootfs/etc/passwd echo "root:x:0:" > rootfs/etc/group + echo "root::0:0:root:/root:/bin/sh" > rootfs/etc/shadow echo "yerba-live" > rootfs/etc/hostname # Basic files setup end -- cgit v1.2.3