A non-root user X cannot message a user Y. This is despite both users having successfully run mesg y
. I've tried following advice for similar problems on Ubuntu described in this question. No luck.
A root user can message anybody.
I have a rough feeling that appropriate configuration of /etc/login.defs
or PAM configuration files would solve the problem, but don't know enough to troubleshoot further. Any suggestions?
I am locally logged in as user picrin on tty1 and as user iva on tty2. User iva is also sshed into the box.
EDIT #1
For the sake of completeness here's more info. This is returned by who
:
picrin tty1 2014-10-18 22:10
iva pts/1 2014-10-19 10:09 (hostXXX-XXX-XX-X.rangeXXX-XXX.btcentralplus.com)
iva tty2 2014-10-19 10:13
This is returned when user picrin
executes write iva tty2
:
write: iva has messages disabled on tty2
This is returned when user picrin
executes write iva pts/1
:
write: iva has messages disabled on pts/1
This is returned when user iva
runs mesg
:
is y
I'm running Fedora 20.