这里发现的原因是/root/下的文件丢失 执行如下两步 1.cp /etc/skel/.bashrc /root/ 2.cp /etc/skel/.bash_profile /root/ 随后exit重新连接即可