Bananian 系統中的 Debian 7 root 預設的 shell 是使用 zsh,目前使用的 Linux 大部分都是使用 bash 當作是預設的 shell,所以之前也是習慣使用 bash。
在網路上搜尋了一下 zsh,可以找到相關的介紹:
Z Shell (zsh) 的特色與安裝
不過真正好好使用了一下子,發現我還是不太習慣,所以就決定將預設的 shell 換成 bash 了。
更換方式
# chsh -s /bin/bash
更換前
# grep root /etc/passwd
root:x:0:0:root:/root:/bin/zsh
更換後
# grep root /etc/passwd
root:x:0:0:root:/root:/bin/bash
重新登出再行登入後即可生效!