Answer the question
In order to leave comments, you need to log in
Why doesn't terminal work after uninstalling zsh?
Removed oh-my-zsh . I confused something with sudo usermod bin/bash , apparently I did not register the username.
When you start the terminal, the cursor blinks, and everything is neither set nor the usual [email protected]:~$ .
Please tell me how to fix.
UPD:
After ctrl+alt+f1 form with authorization . But when you press enter, it returns to the same form with a username and password.
UPD:
That's all I see in the terminal, nothing is displayed when I type. When I close the terminal window - logout.
Answer the question
In order to leave comments, you need to log in
For myself:
For any user from root:
You can edit /etc/passwd by hand, but chsh is ideologically correct - it always works the same way, even if users arrive from LDAP/sssd/...
If you can't log into the system due to a broken shell - boot from LiveCD the same bitness, mount the system root somewhere, make chroot and chsh itself there.
If you can't start the console because of a broken shell, well, boot from the LiveCD and fix it from there. You have been using it for the second year, and you ask such questions.
Edit yours /etc/passwd
so that the shell is valid eg /bin/bash
, then you need to restore your rc file.cp /etс/skel/.bashrc ~/
Something confused with sudo usermod bin/bash
ll bin/bash
gksudo -u root gnome-terminal /bin/bash
Or whatever user you have with admin rights.
Well, then vipw and let's go. Or usermod.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question