Ste*_*ins 6 linux bash centos write
出于某种原因,我无法在我的系统上写信给其他用户。
[root@hostname ~]# write
write: you have write permission turned off.
[root@hostname ~]# mesg y
[root@hostname ~]# mesg
is y
[root@hostname ~]# write
write: you have write permission turned off.
Run Code Online (Sandbox Code Playgroud)
还需要启用/纠正什么才能使其工作?
当以 root 身份运行mesg
禁用(返回n
)时,我得到与您相同的错误。运行该命令mesg y
使我能够运行写入。运行时root
我可以向已禁用的用户写入数据mesg
,但作为非 root 无法执行此操作。
有多个实用程序提供该write
功能。他们所有人都需要能够写入终端。但是,当您以权限运行时,root
应该不是问题。
归档时间: |
|
查看次数: |
8612 次 |
最近记录: |