启动ubuntu,以root用户登陆,打开命令行终端
输入命令:#vim /root/.profile
找到.profile文件中的mesg n
将其替换成tty -s && mesg n
重启ubuntu,问题解决
启动ubuntu,以root用户登陆,打开命令行终端
输入命令:#vim /root/.profile
找到.profile文件中的mesg n
将其替换成tty -s && mesg n
重启ubuntu,问题解决
转载于:https://www.cnblogs.com/jiqing9006/p/8330353.html