add passwd and group in environment.etc

This commit is contained in:
Daniel Barlow committed 2022-09-26 21:02:10 +01:00
1 parent a427b9da5e
commit 4c89e9aee6
2 files changed
+2 -2

No files matched your search

-1
View File
@@ -38,7 +38,6 @@ let
/bin/init s 0755 0 0 ${s6-init-bin}/bin/init /bin/init s 0755 0 0 ${s6-init-bin}/bin/init
/bin/sh s 0755 0 0 ${busybox}/bin/sh /bin/sh s 0755 0 0 ${busybox}/bin/sh
/bin/busybox s 0755 0 0 ${busybox}/bin/busybox /bin/busybox s 0755 0 0 ${busybox}/bin/busybox
/etc/passwd f 0644 0 0 echo "root::0:0:root:/:/bin/sh"
''; '';
config-pseudofiles = pseudofile.write "config.etc" config-pseudofiles = pseudofile.write "config.etc"
+2 -1
View File
@@ -37,7 +37,8 @@ in {
PATH=${lib.makeBinPath (with pkgs; [ s6-init-bin busybox execline s6-linux-init s6-rc])} PATH=${lib.makeBinPath (with pkgs; [ s6-init-bin busybox execline s6-linux-init s6-rc])}
export PATH export PATH
''); '');
passwd = { file = "root::0:0:root:/:/bin/sh\n"; };
group = { file = "root::0:\n"; };
}; };
}; };
}; };