diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-10 20:56:33 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-10 20:56:33 +1200 |
| commit | ec87c65d9e10e4bcc7d149d4e600ad0f79417d57 (patch) | |
| tree | 683f669e1667dfc285ed9437d5afe2f0fc361520 /nix | |
| parent | 32609e4bfb067548ebcdb57b62a71ec7cf77d3ea (diff) | |
| download | yerbalinux-ec87c65d9e10e4bcc7d149d4e600ad0f79417d57.tar.xz yerbalinux-ec87c65d9e10e4bcc7d149d4e600ad0f79417d57.zip | |
add etc shadow with no root passwd
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/rootfs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
