In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about how to configure Telnet services under the SUSE LINUX system. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
When learning SUSE LINUX system, we often encounter SUSE LINUX system problems. Here we will introduce the configuration of Telnet service under SUSE. The easiest way to remotely control the LINUX operating system is to log in with TELNET services, and then you can perform a series of operations such as VI editor, etc. For SUSE LINUX system, a management platform YAST control center that can achieve similar graphical interface through TELNET login system is added, and almost all functions of SUSE LINUX can be managed through YAST.
The following is a detailed introduction to the addition of TELNET services and YAST management under SUSE LINUX Enterprise Server 9. The TELNET service is automatically installed in the SUSE LINUX Enterprise Server 9 (64bit) operating system version, and you only need to modify the configuration file to use it. If you are using the SUSE LINUX Enterprise Server 9 (32bit) version, you need to install the TELNET service RPM package.
RPM package installation method:
Rpm-ivh telnet-server-1.1-38.i586.rpm / / run the RPM installation command in the SHELL environment, the system will automatically start the YAST management program, and then follow the prompts to put in the CD to complete the installation of the TELNET service.
Start telnet services: / / start the TELNET service
Vi / etc/xinetd.d/telnet / / change the service profile (SUSE LINUX Enterprise Server 9 (64bit) only need to modify this profile)
The configuration file is as follows:
/ etc/xinetd.d/telnet
# 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 an ISDN\
# uplink), add "- n". See 'man telnetd' for more details.
Service telnet
{
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Server = / usr/sbin/in.telnetd
Disable = no
}
Allow the system to start the service with disable = yes-- > > disable = no / /.
Chkconfig telnet on / / check whether the service is normal
/ etc/init.d/xinetd restart / / restart the xinetd service
Change telnet port? / / change the TELNET service port for security reasons
Vi / etc/services / / Edit services configuration file
Search "telnet" and change udp&tcp ports:23 to 11123. / / change the service port
/ etc/init.d/xinetd restart / / restart the xinetd service
For security reasons, root users are not allowed to directly TELNET the system by default. You can first use the ordinary user TELNET to enter the system and then use the SU command to enhance your permissions (recommended). But if you must want to log in directly with ROOT users, there is also a way:
For root user can use telnet? / / Let root users log in directly to TELNET
Vi / etc/pam.d/login / / Edit / etc/pam.d/login file
# auth required / lib/security/pam_security.so / / comment out this line
And rename "/ etc/securetty", securetty.bak / / rename this security file (you can restore it later if you want to use it)
After these tasks are done, of course, you need to set xinetd to ENABLED in the system- > Runleveleditor management of YAST, so that the service will be started automatically the next time the system restarts. The default xinetd setting is DIABLED! Through my introduction, you should have a simple understanding of the configuration of Telnet services under SUSE LINUX.
The above is the editor for you to share how to configure the Telnet service under the SUSE LINUX system. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.