On Mon, May 28, 2001 at 04:40:04PM +0200, Mark Janssen wrote: > On Mon, May 28, 2001 at 04:34:03PM +0200, Marcel Hicking wrote: > > "talk user" works fine for us, at least it has been > > working fine 10 minutes ago ;-) > > Make sure talk is configured correctly in /etc/inetd.conf > > If a user has turned his messages off (mesg n) or they are off by > default, and he hasn't turned them on, this will not work... > Write will always work since it ignores the message setting.
not true, write uses the same method that talk use to inform about an incoming talk session. write will fail if the user has used mesg to disable writing to current tty. --Snip-- (%:~)- mesg is n (%:~)- ls -laF /dev/pts/4 crw--w---- 1 ressu ressu 136, 4 May 29 00:08 /dev/pts/4 (%:~)- mesg y (%:~)- ls -laF /dev/pts/4 crw--w--w- 1 ressu ressu 136, 4 May 29 00:08 /dev/pts/4 --Snap-- as you can see.. mesg has nothing to do with messaging, it just removes other users write permissions to your current tty. Sami -- -< Sami Haahtinen >- -< 2209 3C53 D0FB 041C F7B1 F908 A9B6 F730 B83D 761C >-