Enable the telnet function in FreeBSD

Source: Internet
Author: User

 

Step 2

Edit/etc/inetd. conf

 

# Telnet stream tcp nowait root/usr/libexec/telnetd

# Telnet stream tcp6 nowait root/usr/libexec/telnetd

Remove the previous #

 

Step 2

 

Cancel security control of Logon account

 

Telnet is not safe. By default, the root user is not allowed to access the host via telnet.

To allow the root user to log on, use the following methods:

Ee/etc/pam. d/login

Add comments to this line!

Account requisite pam_securetty.so

 

Step 2

 

If inetd is not started

Edit/etc/rc. conf and add

Inetd_enable = "YES"

Restart

 

 

Step 2

 

Access through telnet

 

Telnet 192.168.56.100

 

 

Author: Nanshan Valley

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.