小智 5

su root(也可以写成su)不生成登录shell

su - 确实会产生一个登录外壳。

使用第一个时没有任何来源(例如 .bash_profile、.profile 等)