MageiaThis forum is for the discussion of Mageia Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please do not mention the subject of security or insecurity here. It will be ignored.
The only comment I've ever found about $SUBJECT is a warning when installing netkit-telnet-server that the admin must configure its use manually, which managed to escape logging and my memory. There seems to be no documentation about making telnet server operable on Mageia, and no clues from man or journalctl or systemctl about it. On Fedora and openSUSE it can be configured by enabling telnetd.socket and xinetd, but apparently this configuration is installed on those distros, so only needs enabling, not figuring out to set up whatever is required or where documentation to do so is squirreled away for Mageia's differently named rpms. Can someone please tell me how to enable telnet server in Mageia 6 and/or 7, or provide clues to documentation for same?
For whatever reason you need to run a telnet server. xinetd is installed by default on version 6 so.
Have you changed disable = yes to disable = no in the the /etc/xinetd.d/telnet configuration file?
Have you enabled / started xinetd via the systemctl command?
Question: why would anyone, in 2019, want to enable TELNET server (a product of 1969) anywhere, when there have been better solutions since 1995?
Because some folks have no idea that telnet sends everything in the clear, or that even doing that is bad security practice. Also, some folks go for "easy" instead of secure because they don't understand the implications of what they do. Sad but keeps security professionals such as myself in business...
Man pages for neither netkit-telnet nor netkit-telnet-server exist.
Code:
â xinetd.service - Xinetd A Powerful Replacement For Inetd
Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-04-01 15:39:58 EDT; 6min ago
Docs: man:xinetd
man:xinetd.conf
man:xinetd.log
Main PID: 1405 (xinetd)
Memory: 1.1M
CGroup: /system.slice/xinetd.service
ââ1405 /usr/sbin/xinetd -stayalive -dontfork
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=15]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/discard-udp [file=/etc/xinetd.d/discard-udp] [line=13]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=14]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=14]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=15]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=13]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=13]
xinetd[1405]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=14]
xinetd[1405]: 2.3.15.4 started with libwrap loadavg options compiled in.
xinetd[1405]: Started working: 0 available services
I created /etc/xinet.d/telnet containing:
Code:
# default: off
# description: Telnet is the old login server which is INSECURE and should \
# therefore not be used. Use secure shell (openssh).
# If you need telnetd not to "keep-alives" (e.g. if it runs over a ISDN \
# uplink), add "-n". See 'man telnetd' for more details.
service telnet
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/telnetd
}
This enabled a connection to provide a login prompt, but the password got rejected. I think this is because /etc/securetty requires something that is absent. OK, I checked a Debian's /etc/securetty, added pts/0, pts/1 & pts/2 to Cauldron's, and now it's working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.