SUMMARY: NEW on TALK PROBLEM

From: Kostas Marneris-NOC (kmar@leon.nrcps.ariadne-t.gr)
Date: Tue May 26 1992 - 11:40:55 CDT


Hello Sun managers !,
There was a problem with talk ..
(Who are you? You have no entry in /etc/utmp! Aborting... ) if you remember.

I had written in my SUMMARY that the problem had dissappeared by itself !
But this is not true.

#################################
The problem was that the file : '/etc/ttytab' had not the right modes (644).
It was 600.
I had accidentally repaired the modes so I had thought that the problem had
dissapeared by itself.

But the "pointer" to think like that was a letter from
     --------------------------------
>>>>>tony@edm.isac.ca (Tony Schiebel)<<<<<
     --------------------------------.
Here is his letter :
=====
I have had this problem on a 4/490 running 4.1.1. What I did to
diagnose this problem was run the following command:

         trace -o junk.txt talk <username>

Where <username> is the user you are requesting a talk with. You can
then look at the output file called "junk.txt" in the current working
directory (make sure you have write privileges!). What I found when I
ran it was that the "/etc/ttytab" had incorrect permissions on the file.
Make sure that "world" has read access to the file.

I hope this works for you.

If you require more information please don't hesitate to e-mail me at
the below address.

Cheers
Tony
=======

WELL,
I run the following command: trace -o <filename> talk <username>
Here is the <filename>:
(I am only writing the interesting part of it)
...
...
...
stat ("/dev/ttyp2", 0xf7fffb90) = 0
close (3) = 0
open ("/etc/ttytab", 0, 0666) = -1 EACCES (Permission denied)
open ("/etc/ttytab", 0, 0666) = -1 EACCES (Permission denied)
ioctl (1, 0x40125401, 0xf7fff19c) = 0
write (1, "Who are you? You have no entry ".., 59) = 59
close (0) = 0
close (1) = 0
close (2) = 0
exit (-1) = ?

THAT'S IT !!!.

I have to thank everyone who responded to my problem.

Kostas Marneris (kmar@leon.nrcps.ariadne-t.gr)
#



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:42 CDT