完整报错信息: Ubuntu启用root账户后,登录root账户时报错:读取/root/.profile时发现错误:mesg:ttyname failed:对设备不适当的ioctl操作 作为结果,会话不会被正确配置 解决方法 方法一: 将/root/.profile文件中的mesg n 替换成tty -s && mesg n 重启 方法二: 将非root账户目录中的.profile复制到/root/: 例如:cp /home/username/.profile /root/ 重启 PHP技术交流QQ群:422137578 除非注明,文章均为 PHP二次开发 原创,转载请注明本文地址:http://www.php2.cc/article-2612-1.html |