Detailed description of the Telnet service configuration in SuSE Linux

Source: Internet
Author: User

When learning SuSE Linux, you will often encounter SuSE Linux system problems. Here we will introduce the configuration of the Telnet service in SuSE. The simplest way to remotely control the Linux operating system is to use the telnet service to log on, and then you can execute some column operations, such as the VI editor. For SuSE Linux systems, in addition, a management platform YaST control center similar to a graphical interface can be implemented by logging on to the system via Telnet. YaST can be used to manage almost all functions of SuSE Linux.

The following describes how to add the telnet service and YaST Management in SuSE Linux Enterprise Server 9. The Telnet service is automatically installed in the SuSE Linux Enterprise Server 9 (64bit) operating system. You only need to modify the configuration file to use the service. If you are using SuSE Linux Enterprise Server 9 (32bit), 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 a shell environment, the system automatically starts the YaST hypervisor, and then enters the CD as prompted to complete the installation of the Telnet service.
Start Telnet services: // start the Telnet Service
VI/etc/xinetd. d/telnet // modify the service configuration file (SuSE Linux Enterprise Server 9 (64bit). You only need to modify this configuration file)

The configuration file is as follows:
/Etc/xinetd. d/telnet
# Default: Off
# Description: telnet is the old Login server which is insecure and shold/
# 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/in. telnetd
Disable = No
}

Set disable = Yes ---> disable = No // to allow the system to start the service.
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 the services configuration file
Search "Telnet" and change UDP & TCP ports: 23 to 11123. // modify the service port
/Etc/init. d/xinetd restart // restart the xinetd service

By default, root users are not allowed to directly Telnet the system for security reasons, you can telnet to the system through a common user before using the su command to improve your permissions (we recommend that you do this ). However, if you want to log on directly with the root user, there is also a solution:

For root user can use Telnet? // Allow the root user to log on via Telnet
VI/etc/PAM. d/login // edit the/etc/PAM. d/login file
# Auth required/lib/security/pam_security.so // comment out this line
And rename "/etc/securetty", securetty. Bak // rename the security file (you can restore it later)

After completing these tasks, you must set xinetd to enabled in the system-> runleveleditor Management of YaST, so that the system will automatically start the service the next time it restarts, the default xinetd is diabled! Through my introduction, you should have a brief understanding of the configuration of the Telnet service in SuSE Linux. I hope this article will help you.

[Edit recommendations]

  1. Linux: Introduction to open SUSE
  2. How to enable SuSE NTP service
  3. TIPS: SuSE starts XDMCP
  4. Install Oracle database with SuSE linux10
  5. Linux: Introduction to open SUSE

 

Http:// OS .51cto.com/art/200911/165331.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.