查看passwd cat /ect/passwd 发现root用户的shell是/bin/bash 普通用户的shell是/bin/sh 修改普通用户的为/bin/bash即可 转载于:https://www.cnblogs.com/yan456jie/p/5369428.html