Configuração do servidor Talk
Dica publicada em Linux / Avançado
Configuração do servidor Talk
Edite o arquivo /etc/inetd.conf e remova os comentários das linhas (o caractere #):
talk dgram udp wait root /usr/sbin/tcp in.talkd
ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
Edite o arquivo /etc/xinetd.d/talk da seguinte forma (se o xinetd estiver em uso):
# default: off
# description: the talk server accepts talk request for chatting with users \
#on other systems.
service talk
{
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.talkd
}
# description: the talk server accepts talk request for chatting with users \
#on other systems.
service talk
{
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.talkd
}
Edite o arquivo /etc/xinetd.d/ntalk da seguinte forma, só se ele estiver em uso:
# default: off
# description: the talk server accepts talk request for chatting with users \
#with users on different systems.
service talk
{
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.ntalkd
}
# description: the talk server accepts talk request for chatting with users \
#with users on different systems.
service talk
{
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.ntalkd
}
Ativando o servidor talk na inicialização do Linux. Execute o comando:
# ntsysv
OBS: Fiz isso com Red Hat.