Friday, July 27, 2012

How to enable(open) daytime service port in Ubuntu 12.04

For enabling daytime server port in Ubuntu 12.04(or prior version) , you need to edit /etc/xinetd/daytime file.
To do this we need to follow these steps

1.check whether /etc/xinetd.d/daytime file exists or not. if exists goto step 3, if not goto step 2
2.Install xinetd by using this command
#apt-get install xinetd
or
#sudo apt-get install xinetd

3.Then edit the config file in /etc/xinetd.d
#vim /etc/xinetd.d/daytime
in this file change disabe = no in tcp section (or if u want in udp section)

 4.then execute command
#invoke-rc.d xinetd reload

Note: you should be in sudo mode inorder to do all these things.
Dont know How to go sudo mode? Ok
Open Terminal
type $sudo -s
then enter password. Its done!!!

1 comment:

Related Posts Plugin for WordPress, Blogger...