使用root用户登录ubuntu14.04时报错

来源:互联网 发布:网页设计软件有哪些 编辑:程序博客网 时间:2024/05/16 10:31

在使用root用户登陆ubuntu14.04时,报错Error found when loading /root/.profile stdin: is not a tty

解决办法如下:

编辑/root/.profile文件,注释mesg n,并添加一行tty -s && mesg n,最后重启系统即可。

0 0
原创粉丝点击