讲zsh修改为bsh后shell终端无反应
Tofloor
poster avatar
zhiweitai
deepin
2015-02-02 19:08
Author
讲passwd下用户的zsh修改未bash后重新登陆后shell没有反映了,不能输入任何字符,求帮助 :cry:  :cry:  :cry:  :?:怎么能进去修改下呢,感觉好像是bash打错了......
Reply Favorite View the author
All Replies
MattD
deepin
2015-02-02 19:14
#1
bash你都没拼对,用root改。
切换login shell尽量用chsh命令,不要直接改passwd文件。
Reply View the author
zhiweitai
deepin
2015-02-02 19:17
#2
已经搞定,谢谢
Reply View the author
Feng Yu
deepin
2015-02-02 22:32
#3
用chsh这条命令改,直接改/etc/passwd是一件危险的事情。

chsh -s /bin/bash
Reply View the author