How to set default value of write access to terminal

General support questions
Post Reply
joshroden
Posts: 9
Joined: 2011/03/29 14:58:30

How to set default value of write access to terminal

Post by joshroden » 2018/12/16 11:21:12

Hi
The default in CentOS 6 seems to be "+" which means
people can bother other people by writing messages
to their terminals with "write" command.
How can I change the default value to be "-" instead of "+"?

For example I see my terminal is by default set to "+":

[root@localhost]# who -Tu
root + pts/0

thx
Josh

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: How to set default value of write access to terminal

Post by lightman47 » 2018/12/16 20:07:38

Have you checked 'man write'? does it help?

joshroden
Posts: 9
Joined: 2011/03/29 14:58:30

Re: How to set default value of write access to terminal

Post by joshroden » 2018/12/17 05:29:02

Yes, I did.
There is no config file for write nor for mesg where I can set the default
for this.
Also, I there is not config file for the whole sysvinit-tools rpm.
Maybe there is an environment command (which I don't know of) that can
be put in the profile file of the user?

Post Reply