---------------------------------------- | |
talkd on ubuntu | |
January 02nd, 2019 | |
---------------------------------------- | |
I need to save these notes somewhere. I just got talkd working on | |
ubuntu 18.10 and it was quite convoluted. Here's what I did: | |
- install openbsd-inetd (not inetutils-inetd, it's shit) | |
- install talkd (not inetutils-talkd, also shit) | |
- install ytalk (better than talk by a mile) | |
edit /etc/inetd.conf and add the following: | |
#:BSD: Shell, login, exec and talk are BSD protocols. | |
talk dgram udp wait nobody.tty /usr/sbin/tcpd in.talkd | |
ntalk dgram udp wait nobody.tty /usr/sbin/tcpd in.ntalkd | |
note the /usr/sbin/tcpd. If talkd added content here for you, | |
those are probably quite different. Trust tcpd to handle the | |
connection for you and hand it off to in.talkd and in.ntalkd | |
afterwards. | |
'nobody' will probably need to be added to the tty group. In truth | |
you should make another dummy user without a login shell named | |
'talkd' and add THAT user to tty, but this works. | |
$ sudo usermod -a -G tty nobody | |
Restart inetd: | |
$ sudo service openbsd-inetd restart | |
Now you should be able to use 'talk' on your server, locally at | |
least. | |
Ports 517 and 518 are for talkd, so you can open them up in your | |
firewall and that should be enough to talk to other servers, but | |
I don't have that piece of the puzzle just yet. | |
Good luck! |