在CentOS中开启daytime服务

[root@localhost ~]# cd /etc/xinetd.d/
[root@localhost xinetd.d]# ls
chargen-dgram   discard-dgram   eklogin       krb5-telnet    time-dgram
chargen-stream  discard-stream  ekrb5-telnet  kshell         time-stream
daytime-dgram   echo-dgram      gssftp        rsync
daytime-stream  echo-stream     klogin        tcpmux-server
[root@localhost xinetd.d]# vim daytime-stream 
[root@localhost xinetd.d]# vim daytime-dgram 

[root@localhost xinetd.d]# /etc/init.d/xinetd restart


将daytime-dgram和daytime-stream中的disable由yes改为no, 重启服务就OK了

你可能感兴趣的:(在CentOS中开启daytime服务)