root@nyera:/# getent passwd | grep telnet root@nyera:/# getent group | grep telnet root@nyera:/# apt install telnetd Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libbsd0 libevent-2.1-6 libgdbm-compat4 libgdbm5 libperl5.26 libwrap0 netbase openbsd-inetd perl perl-modules-5.26 tcpd update-inetd Suggested packages: gdbm-l10n perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make The following NEW packages will be installed: libbsd0 libevent-2.1-6 libgdbm-compat4 libgdbm5 libperl5.26 libwrap0 netbase openbsd-inetd perl perl-modules-5.26 tcpd telnetd update-inetd 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 7207 kB of archives. After this operation, 42.8 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.se.debian.org/debian sid/main amd64 perl-modules-5.26 all 5.26.2-6 [2824 kB] Get:2 http://ftp.se.debian.org/debian sid/main amd64 libgdbm5 amd64 1.14.1-6+b1 [57.6 kB] Get:3 http://ftp.se.debian.org/debian sid/main amd64 libgdbm-compat4 amd64 1.14.1-6+b1 [39.1 kB] Get:4 http://ftp.se.debian.org/debian sid/main amd64 libperl5.26 amd64 5.26.2-6 [3601 kB] Get:5 http://ftp.se.debian.org/debian sid/main amd64 perl amd64 5.26.2-6 [202 kB] Get:6 http://ftp.se.debian.org/debian sid/main amd64 netbase all 5.4 [19.1 kB] Get:7 http://ftp.se.debian.org/debian sid/main amd64 libbsd0 amd64 0.9.1-1 [99.3 kB] Get:8 http://ftp.se.debian.org/debian sid/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB] Get:9 http://ftp.se.debian.org/debian sid/main amd64 libwrap0 amd64 7.6.q-27 [58.6 kB] Get:10 http://ftp.se.debian.org/debian sid/main amd64 update-inetd all 4.45 [25.0 kB] Get:11 http://ftp.se.debian.org/debian sid/main amd64 tcpd amd64 7.6.q-27 [24.0 kB] Get:12 http://ftp.se.debian.org/debian sid/main amd64 openbsd-inetd amd64 0.20160825-3 [36.4 kB] Get:13 http://ftp.se.debian.org/debian sid/main amd64 telnetd amd64 0.17-41 [44.6 kB] Fetched 7207 kB in 2s (3091 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_TIME = "sv_SE.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) Selecting previously unselected package perl-modules-5.26. (Reading database ... 9134 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.26_5.26.2-6_all.deb ... Unpacking perl-modules-5.26 (5.26.2-6) ... Selecting previously unselected package libgdbm5:amd64. Preparing to unpack .../01-libgdbm5_1.14.1-6+b1_amd64.deb ... Unpacking libgdbm5:amd64 (1.14.1-6+b1) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../02-libgdbm-compat4_1.14.1-6+b1_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.14.1-6+b1) ... Selecting previously unselected package libperl5.26:amd64. Preparing to unpack .../03-libperl5.26_5.26.2-6_amd64.deb ... Unpacking libperl5.26:amd64 (5.26.2-6) ... Selecting previously unselected package perl. Preparing to unpack .../04-perl_5.26.2-6_amd64.deb ... Unpacking perl (5.26.2-6) ... Selecting previously unselected package netbase. Preparing to unpack .../05-netbase_5.4_all.deb ... Unpacking netbase (5.4) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../06-libbsd0_0.9.1-1_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../07-libevent-2.1-6_2.1.8-stable-4_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4) ... Selecting previously unselected package libwrap0:amd64. Preparing to unpack .../08-libwrap0_7.6.q-27_amd64.deb ... Unpacking libwrap0:amd64 (7.6.q-27) ... Selecting previously unselected package update-inetd. Preparing to unpack .../09-update-inetd_4.45_all.deb ... Unpacking update-inetd (4.45) ... Selecting previously unselected package tcpd. Preparing to unpack .../10-tcpd_7.6.q-27_amd64.deb ... Unpacking tcpd (7.6.q-27) ... Selecting previously unselected package openbsd-inetd. Preparing to unpack .../11-openbsd-inetd_0.20160825-3_amd64.deb ... Unpacking openbsd-inetd (0.20160825-3) ... Selecting previously unselected package telnetd. Preparing to unpack .../12-telnetd_0.17-41_amd64.deb ... Unpacking telnetd (0.17-41) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ... Setting up perl-modules-5.26 (5.26.2-6) ... Setting up libgdbm5:amd64 (1.14.1-6+b1) ... Setting up libbsd0:amd64 (0.9.1-1) ... Processing triggers for libc-bin (2.27-5) ... Setting up libgdbm-compat4:amd64 (1.14.1-6+b1) ... Setting up libwrap0:amd64 (7.6.q-27) ... Setting up netbase (5.4) ... Setting up tcpd (7.6.q-27) ... Setting up libperl5.26:amd64 (5.26.2-6) ... Setting up perl (5.26.2-6) ... Setting up update-inetd (4.45) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up openbsd-inetd (0.20160825-3) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. Setting up telnetd (0.17-41) ... Adding user telnetd to group utmp grep: /proc/mounts: No such file or directory debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. Processing triggers for libc-bin (2.27-5) ... root@nyera:/# getent passwd | grep telnet telnetd:x:101:101::/nonexistent:/usr/sbin/nologin root@nyera:/# getent group | grep telnet utmp:x:43:telnetd telnetd:x:101: root@nyera:/# apt install telnetd-ssl Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: telnetd The following NEW packages will be installed: telnetd-ssl 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 64.7 kB of archives. After this operation, 52.2 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.se.debian.org/debian sid/main amd64 telnetd-ssl amd64 0.17.41+0.2-3 [64.7 kB] Fetched 64.7 kB in 0s (446 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_TIME = "sv_SE.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) (Reading database ... 11119 files and directories currently installed.) Removing telnetd (0.17-41) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. Selecting previously unselected package telnetd-ssl. (Reading database ... 11106 files and directories currently installed.) Preparing to unpack .../telnetd-ssl_0.17.41+0.2-3_amd64.deb ... Unpacking telnetd-ssl (0.17.41+0.2-3) ... Setting up telnetd-ssl (0.17.41+0.2-3) ... Adding user telnetd-ssl to group utmp grep: /proc/mounts: No such file or directory debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. hostname: Name or service not known dpkg: error processing package telnetd-ssl (--configure): installed telnetd-ssl package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: telnetd-ssl E: Sub-process /usr/bin/dpkg returned an error code (1) root@nyera:/# hostname nyera root@nyera:/# hostname -s nyera root@nyera:/# hostname -d hostname: Name or service not known root@nyera:/# echo $? 1 root@nyera:/# getent passwd | grep telnet telnetd-ssl:x:101:101::/nonexistent:/usr/sbin/nologin root@nyera:/# getent group | grep telnet utmp:x:43:telnetd-ssl telnetd-ssl:x:101: root@nyera:/# apt install telnetd Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: telnetd-ssl The following NEW packages will be installed: telnetd 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 44.6 kB of archives. After this operation, 52.2 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 http://ftp.se.debian.org/debian sid/main amd64 telnetd amd64 0.17-41 [44.6 kB] Fetched 44.6 kB in 0s (297 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_TIME = "sv_SE.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) (Reading database ... 11120 files and directories currently installed.) Removing telnetd-ssl (0.17.41+0.2-3) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. Selecting previously unselected package telnetd. (Reading database ... 11108 files and directories currently installed.) Preparing to unpack .../telnetd_0.17-41_amd64.deb ... Unpacking telnetd (0.17-41) ... Setting up telnetd (0.17-41) ... Adding user telnetd to group utmp grep: /proc/mounts: No such file or directory debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. root@nyera:/# getent passwd | grep telnet telnetd:x:101:101::/nonexistent:/usr/sbin/nologin root@nyera:/# getent group | grep telnet utmp:x:43:telnetd telnetd:x:101: root@nyera:/#