我只是Linux系统的普通用户,没有权限调用chsh命令修改自己的登录shell。
chsh
bash-4.1$ chsh --help Usage: chsh [ -s shell ] [ --list-shells ] [ --help ] [ --version ] [ username ] bash-4.1$
编辑自己的~/.profile文件。
#Add this to go bash at login bash #end
参考 https://superuser.com/questions/282647/linux-neither-chsh-nor-ypchsh-is-working-can-i-change-my-shell