[SOLVED] Changing default shell to zsh locks user account.
Installed on fresh virtual machine.
Things I've tried:
- Resetting password, no effect.
- Changing default shell back to bash or sh, result unlocks user account.
- Removing zsh theme from .zshrc
- Edit system.yaml to add zsh to /etc/shells when system rebuilds, no effect.
- Checked journalctl
system.yaml:

Solution:Jump to solution
I just found the solution, copying /usr/etc/shells to /etc/shells fixed the issue
6 Replies
Solution
I just found the solution, copying /usr/etc/shells to /etc/shells fixed the issue
yeah /etc has to be modified in commands rn
wait no i might be wrong idk
regardless, it's basically hardcoded
so changes outside of
commands are reset/non-persistent
/etc is modifiable, but either 1) we add a diff system like apt has, or 2) we make it only modifiable via commands/akshara
and the former is difficult, the latter i'm not willing to make that big of a change without approval from rudrait's supposed to be copied over
if it isn't then the stages are in the wrong order
copies
/etc to .new_rootit copies /etc to /usr/etc
but also discord won't load so not gonna talk about it much rn
I added
cp /usr/etc/shells /etc/shells to commands, so it configures it properly every update
Feel like next time /etc/shells should just have the contents of /usr/etc/shells by default on fresh installation.
Just to prevent other people from running into this issue.