Linux - ubuntu读取/root/.profile时发现错误:mesg:ttyname fa

启动ubuntu,以root用户登陆,打开命令行终端
输入命令:#vim /root/.profile
找到.profile文件中的mesg n

将其替换成tty -s && mesg n

重启ubuntu,问题解决
posted @ 2018-01-22 17:55  TBHacker  阅读(1213)  评论(0编辑  收藏  举报