how to enable talk

 
Gerard Powell
Advisor

how to enable talk

I want to use the talk facility on HP-UX, following are the entries in

/etc/services
talk 517/udp # conversation
ntalk 518/udp # new talk, conversation

/etc/inetd.conf
ntalk dgram udp wait root /usr/lbin/ntalkd ntalkd

when I want to talk to cord user I type
#talk cord
I get an error

[No connection yet]
[Your party is not logged on]

Can someone guide me please?
12 REPLIES 12
rariasn
Honored Contributor

Re: how to enable talk

Hi:

No connection yet]
[Your party is not logged on]

User "cord" is not logged yet.

rgs
Gerard Powell
Advisor

Re: how to enable talk

even though "cord" user is logged on get the same error msg.
rariasn
Honored Contributor

Re: how to enable talk

Hi:

Verify "mesg" permissions:

mesg [-] y allows applications such as write or talk to send messages to the user's terminal (that is, without restrictions).

man mesg.

grep talk /var/adm/syslog/syslog.log

rgs,



Gerard Powell
Advisor

Re: how to enable talk

mesg is set to Y. still it gives the same error.
rariasn
Honored Contributor

Re: how to enable talk

Hi:

# grep -i talk /var/adm/syslog/syslog.log

and verify than "ntalk" is not deny in /var/adm/inetd.sec file

rgs,

Gerard Powell
Advisor

Re: how to enable talk

# grep -i talk /var/adm/syslog/syslog.log

Oct 30 00:05:32 cmcdev inetd[1275]: ntalk/udp: Added service, server /usr/lbin/ntalkd

put this entry in
/var/adm/inetd.sec
ntalk allow 127.0.0.1 cmcdev

change and let inetd re-read the configuration, with "inetd -c"

still the same error.

rariasn
Honored Contributor

Re: how to enable talk

Hi Gerard:

Apparently all is well.


# finger cord

# who -T| grep -i cord

# who am i

rgs,

Gerard Powell
Advisor

Re: how to enable talk

# finger cord
Login name: cord
Directory: /home/cord Shell: /usr/bin/ksh
On since Dec 3 15:49:47 on pts/te from 172.16.25.121
7 minutes 49 seconds Idle Time
No unread mail
No Plan.

# who -T |grep -i cord
cord + pts/te Dec 3 15:49 0:08 26182 172.16.25.121

# who am i
root pts/tf Dec 3 15:49

# who
cord pts/te Dec 3 15:49
root pts/tf Dec 3 15:49


rariasn
Honored Contributor

Re: how to enable talk

Hi Gerard:

With root user:

# talk cord

Output similar to:

[No connection yet]
[Waiting for your party to respond]

...


rgs,