diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-10 21:44:57 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-10 21:44:57 +1200 |
| commit | 916738d7ed35cc367157bea96f25c1a253cdb5ec (patch) | |
| tree | 743814b2215bdbcd062c1806f0c0f1291d466694 /nix/rootfs.nix | |
| parent | ec87c65d9e10e4bcc7d149d4e600ad0f79417d57 (diff) | |
| download | yerbalinux-916738d7ed35cc367157bea96f25c1a253cdb5ec.tar.xz yerbalinux-916738d7ed35cc367157bea96f25c1a253cdb5ec.zip | |
No etc/shadow, just use no root passwd in etc/passwd
Diffstat (limited to 'nix/rootfs.nix')
| -rw-r--r-- | nix/rootfs.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nix/rootfs.nix b/nix/rootfs.nix index 75be0d8..c5769e6 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -52,9 +52,8 @@ stdenv.mkDerivation { echo "proc /proc proc defaults 0 0" > rootfs/etc/fstab echo "sysfs /sys sysfs defaults 0 0" >> rootfs/etc/fstab echo "devtmpfs /dev devtmpfs defaults 0 0" >> rootfs/etc/fstab - echo "root:x:0:0:root:/root:/bin/sh" > rootfs/etc/passwd + echo "root::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 |
