修改用户的shell

查看用户当前shell echo $0shell

查看系统有的shell cat /etc/shellsbash

修改shell为bash系统

chsh -s /bin/bash

修改后要从新进入用户才生效。

相关文章
相关标签/搜索