Is there a reason why login(8) behaves so interesting?
I'm currently tabularasaing my server, reinstalling all applications, leaving out stalled dependencies and all that. Now I noticed that there is no fallback shell; if
I'd propose an automatic fallback to /bin/sh if the set shell is invalid and/or not accessible.
edit: I just noticed that the "Feedback" forum is not meant for "FreeBSD feedback". Some moderator and/or administrator might want to move this where it belongs, sorry for the inconveniences.
I'm currently tabularasaing my server, reinstalling all applications, leaving out stalled dependencies and all that. Now I noticed that there is no fallback shell; if
zsh is set as the login shell and it is (temporarily) removed, login(8) says "access denied" which is, in my opinion, not a good error message.I'd propose an automatic fallback to /bin/sh if the set shell is invalid and/or not accessible.
edit: I just noticed that the "Feedback" forum is not meant for "FreeBSD feedback". Some moderator and/or administrator might want to move this where it belongs, sorry for the inconveniences.