读取root.profile时发现错误:mesg:ttyname failed:对设备不适当的ioctl操作

    xiaoxiao2021-03-28  30

    http://blog.csdn.net/niepangu/article/details/52771802

    方法一:

    将/root/.profile文件中的mesg n

    替换成tty -s && mesg n

    重启

    方法二:

    将非root账户目录中的.profile复制到/root/:

    例如:cp /home/username/.profile /root/

    重启

    转载请注明原文地址: https://ju.6miu.com/read-664631.html

    最新回复(0)