Simon Josefsson | 17 Jan 17:14
Favicon
Gravatar

Bug#423944: /usr/bin/inetutils-telnet: Complains about ~/.shishi/tickets and creates ~/.shishi, for all connections

Hi!

I've pondered this issue, and have reached these conclusions:

1) libshishi should create the directory and user configuration file.
   This is needed because the sysadmin may make site-local customization
   in the user skeleton file, and for those to take effect, libshishi
   needs to copy it to the user home directory.

   I did consider whether possibly the command line tool 'shishi' could
   be responsible for creating the directory and copying the user
   configuration file, but this is not a good idea: it should be
   possible to use libshishi from other application, in particular GUI
   applications.  Invoking the command line tool shouldn't be required.

2) we should minimize the amount of output related to this.  With the
   shishi in git, I get the following output when running telnet without
   a ~/.shishi/:

jas <at> mocca:~$ inetutils-telnet my.nada.kth.se
Trying 130.237.226.234...
Automatic encryption of output is enabled
Will send login name and/or authentication information.
Connected to my.nada.kth.se.
Escape character is '^]'.
libshishi: info: created `/home/jas/.shishi/shishi.conf'
...

After the first invocation, I get:

(Continue reading)


Gmane