Friday, October 21, 2011

enabling daytime service in linux

configuring daytime service in Linux

starting the daytime service in linux
Steps 1:
open the file "/etc/xinetd.conf"

Step2 :
add the following entry outside the default block
service daytime
{
  disable        = no
  type           = INTERNAL
  id             = daytime-stream
  socket_type    = stream
  protocol       = tcp
  user           = root
  wait           = no
}
Step3 :
restart the xinetd service using  "/etc/init.d.xinetd restart"

Note:
I tested this with RHEL 5.4

See Also:

Advance Socket Concepts and sample codes

No comments:

Post a Comment