1834772 Members
2934 Online
110070 Solutions
New Discussion

Re: Disable services

 
Eric Jacklin
Regular Advisor

Disable services

Hi,

Due to audit requirement i want to disable following services.So please guide me on below mention question

1)This service is related to what ?
chargen, bootps, printer, dtspc, swat, rpc, recserv, instl, boots, tftp
2) How to disable it ?

4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Disable services

You can disable these by commenting out the appropriate line in the /etc/inetd.conf file. You will then need to issue an 'inetd -c' command to cause inetd to re-read its config file.

You can find information on these via google or any other search engine.
Sunny Jaisinghani
Trusted Contributor

Re: Disable services

hi Jitendra,

Some additional info:

All the internet services configured on the system are listed in the /etc/inetd.conf file.

whenever you configure any service you need to add a line for that service in this file.

Commenting or uncommenting the line will disable or enable the service.

whenever you make changes to this file the inetd.conf file needs to be read. so do inetd -c

Regards
Emil Velez
Honored Contributor

Re: Disable services


you may want to consider loading bastille and allowing bastille to disable these services that way you have a easy way to undo it and you can just create a config and then secure other systems the same way.

Bastill will do this after asking you a series of questions. Great security tool
Reshma Malusare
Trusted Contributor

Re: Disable services

HI Jitendra,
The Internet daemon accesses the configuration data it needs by reading the file /etc/inetd.conf

The Internet daemon reads its configuration file on three occasions:
1]When inetd is started during normal system startup
2]When inetd is started following a network shutdown as opposed to a system shutdown
3]When you instruct an executing inetd to reread the configuration file after you have made changes to it that you wish to put into effect

Now here services you mentioned for them you need to edit /etc/inetd.conf.
Refer following document for more information:
http://docs.hp.com/en/32650-90897/ch02s03.html?btnNext=next%A0%BB

Thanks & Regards
Reshma