• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

The Geek Diary

HowTos | Basics | Concepts

  • Solaris
    • Solaris 11
    • SVM
    • ZFS
    • Zones
    • LDOMs
    • Hardware
  • Linux
    • CentOS/RHEL 7
    • RHCSA notes
    • SuSE Linux Enterprise
    • Linux Services
  • VCS
    • VxVM
  • Interview Questions
  • oracle
    • ASM
    • mysql
    • RAC
    • oracle 12c
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Hadoop
    • Hortonworks HDP
      • HDPCA
    • Cloudera
      • CCA 131

CentOS / RHEL 6 : How to disable telnet service

By admin

For security purposes, administrators may wish to disable telnet (incoming connections) on CentOS / RHEL 6. Follow the steps below to disable telnet permanently on your system.

1. For disabling the telnet server, edit /etc/xinetd.d/telnet and change the field disable to yes.

# vi /etc/xinetd.d/telnet
service telnet
{
    flags       = REUSE
    socket_type = stream        
    wait        = no
    user        = root
    server      = /usr/sbin/in.telnetd
    log_on_failure  += USERID
    disable     = yes 
}

2. Now erestart the xinetd service with the below command.

# service xinetd restart

Filed Under: Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘yum-updatesd’
  2. Linux OS Service ‘portreserve’
  3. Complete Guide to Configuring iSCSI in CentOS / RHEL 7
  4. Beginners Guide to Linux Software Management with RPM
  5. How to change hostname in CentOS/RHEL 7
  6. How to set children-max for udev Service in CentOS/RHEL 7
  7. How to Transfer files securely using SCP Command in Linux
  8. RHEL / CentOS : How to shrink LVM volume
  9. Understanding DM-multipath deamon (multipathd)
  10. CentOS / RedHat : Beginners guide to log file administration

You May Also Like

Primary Sidebar

Recent Posts

  • Linux OS Service ‘cups’
  • “Warning: RPMDB altered outside of yum.” – On installing/updating/erasing a package using YUM command
  • How to Generate Unique IDs For MysQL Cluster Backups
  • Oracle 11g – New ASM features
  • ASM Fast Mirror Resync Feature – Example To Simulate Transient Disk Failure And Restore Disk
  • Archives
  • Contact Us
  • Copyright

© 2019 · The Geek Diary