How to change the default shell of the root user without root?

0 like 0 dislike
62 views
Sat root access, changed the shell, but instead of /bin/zsh zsh just wrote. Now actually can not log in under root, as it complains that command not found. User with sudo either. There are options to fix the startup path of the shell?
by | 62 views

3 Answers

0 like 0 dislike
Live cd/Single mode.
by
0 like 0 dislike
If the car is at home/at work - single/emergency mode. If VPS and the ability to change the load line, no bucket - just reinstall.
by
0 like 0 dislike
su -s SHELL
by

Related questions

0 like 0 dislike
2 answers
asked Apr 11, 2019 by Sergey_Drozd
0 like 0 dislike
6 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users