Answer the question
In order to leave comments, you need to log in
/usr/bin/git shell?
Good day everyone. I changed the shell to /usr/bin/git-shell and ended up with a completely inoperable terminal. Please help fix this issue. Yes, I know I'm a handyman.
Answer the question
In order to leave comments, you need to log in
1. When starting the system, on the hornbeam page, select the desired boot point and press "e"
2. Find the line containing the kernel and add init=/bin/bash to the end
3. Press "ctrl + x"
4. In the running environment, print the root fs
mount -o,remount /
5. Run the chsh command, or change the shell in passwd.
6. Run the system exec /sbin/init
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question