I was experimenting with installerconfig and I added adduser at the end of installerconfig before powering off. It worked great.
I've built a custom iso (just changed the kernel name) and I wanted the adduser prompt to come up post installation before login prompt so I added a firstboot rc.d script with just adduser. It showed up before login prompt, post installation boot. And I saw the directories in the skel - it was exactly what I wanted but then I did a reboot and logged in as the same user and I got this message:
No home directory. Logging in with home = "/"
This thing happens if I do this post installation and with firstboot. The /home directory just disappears. Never happens with installerconfig.
PS. I also want to know if it's possible to launch a twm session at the end of installerconfig before I shut it down.
This is my adduser.conf:
I also added homeprefix=/home in the adduser.conf earlier but didn't seem to make any difference. I'm not sure what is happening.
I'm in FreeBSD 14.3.
I've built a custom iso (just changed the kernel name) and I wanted the adduser prompt to come up post installation before login prompt so I added a firstboot rc.d script with just adduser. It showed up before login prompt, post installation boot. And I saw the directories in the skel - it was exactly what I wanted but then I did a reboot and logged in as the same user and I got this message:
No home directory. Logging in with home = "/"
This thing happens if I do this post installation and with firstboot. The /home directory just disappears. Never happens with installerconfig.
PS. I also want to know if it's possible to launch a twm session at the end of installerconfig before I shut it down.
This is my adduser.conf:
Code:
udotdir=/usr/share/skel
defaultgroups="video operator"
defaultshell=/usr/local/bin/zsh
I also added homeprefix=/home in the adduser.conf earlier but didn't seem to make any difference. I'm not sure what is happening.
I'm in FreeBSD 14.3.