版权声明:如有转载请注明 by Huang.Lin https://blog.csdn.net/huanglin6/article/details/84304970
问题:ubuntu改为root登录后可能会出现error found when loading /etc/profile 的错误。
解决办法:
ubuntu14.0
解决:vim /root/.profile
将 mesg n 改为 tty - s && mesg n
ubuntu14.0 以上
解决:vim /root/.profile
mesg n 后加一行 tty - s && mesg n