S
S
Sergey_Drozd2018-04-21 20:05:38
linux
Sergey_Drozd, 2018-04-21 20:05:38

/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

2 answer(s)
D
Dmitry Letov, 2018-04-22
@Liol

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

C
CityCat4, 2018-04-21
@CityCat4

Change shell back :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question