--- ./src/init.c.orig 2025-02-08 09:55:23.000000000 -0600 +++ ./src/init.c 2025-04-22 22:22:38.487963245 -0500 @@ -2929,6 +2929,11 @@ setenv("PATH", PATH_DEFAULT, 1 /* Overwrite */); /* + * Prevent dotfile mayhem in / + */ + setenv("HOME", "/root", 1 /* Overwrite */); + + /* * Initialize /var/run/utmp (only works if /var is on * root and mounted rw) */