su su root和su - root: su只是切换了root身份,但Shell环境仍然是普通用户的Shell;而su -连用户和Shell环境一起切换成root身份了 推荐使用su - . 新战场:https://blog.csdn.net/Stephen___Qin