Sample Header Ad - 728x90

how to correct "unknown root shell" in shell in a box

1 vote
3 answers
162 views
I'm having problem of directory due to a typo in a command I wrote in my command I made a typo while writing this command chsh -s/usr/local/bin/bash/ instead of using this chsh -s/usr/local/bin/bash because of that, when I want to use the su command I receive not a directory error and I didn't know that to do. chsh -s/usr/local/bin/bash in order to solve it my self, but it gave me this error: pwd_mkdb: warning, unknown root shell, and displayed chsh: user information updated. But the issue persisted. **Additional info:** Os NAME=FreeBSD;VERSION="13.3-RELEASE-p4";VERSION_ID="13.3".
Asked by Kaze (11 rep)
Aug 23, 2024, 09:56 AM
Last activity: Jul 2, 2025, 03:06 PM