Quoting alviN ([EMAIL PROTECTED]):

> im forwarding this to the experts list, no ones
> answering me at the newbie list.

It may or may not be comforting to you to hear that you've posted a
problem that lacks an obvious solution (to me, anyway).  On my own
system, I did exactly what you did (set "mesg y" for my regular,
non-root user, then use "write rick" to send a console message to
myself), except that in my case, it worked.

"write" sends messages to the pseudo-tty devices /dev/ttyp*, which
should have ownership and permissions like this:

crw-rw-rw-    1 root     tty        3,   0 Nov 30  2000 /dev/ttyp0
crw-rw-rw-    1 root     tty        3,   1 Nov 30  2000 /dev/ttyp1
crw-rw-rw-    1 root     tty        3,   2 Nov 30  2000 /dev/ttyp2
[...]

And, of course, /usr/bin/write must have appropriate permissions and
ownership, itself:

[EMAIL PROTECTED]:~$ ls -al /usr/bin/write
-rwxr-sr-x    1 root     tty          7400 Oct 24 16:36 /usr/bin/write

I'm not suggesting that you altered those things:  There's no reason why
you would have.  But you might want to check them, anyway.

Also, just as a sanity check, see if you get the right return value from
the "mesg" command after setting the value to "y":

[EMAIL PROTECTED]:~$ mesg
is y

That command does not require special permissions:

[EMAIL PROTECTED]:~$ ls -l /usr/bin/mesg
-rwxr-xr-x    1 root     root         4476 May 28  2002 /usr/bin/mesg

-- 
Cheers,              "The front line of defense against such sophisticated 
Rick Moen            viruses is a continually evolving computer operating 
[EMAIL PROTECTED]  system that attracts the efforts of eager software
                     developers."  -- Bill Gates         
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to