01-12-2006
To disable any services that are started from inetd, you will have to edit the inetd.conf file and kill -HUP the inetd process.
To disable any services that are started during startup, you can edit the required files in the /etc/rc.config.d directory.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Is it possible to remove/disconnect a socket connection having
a status of LISTEN, from command prompt..??
Thanks in Advance.. (1 Reply)
Discussion started by: shibz
1 Replies
2. UNIX for Dummies Questions & Answers
hello all,
in order for me to close ports and remove services that could be a danger to my system i have edited the /etc/initd.conf file, /etc/system file, and renamed some of the r commands. However i wanted to know if anyone knows how to turn off all services and close ALL known ports, so i... (3 Replies)
Discussion started by: Holistic
3 Replies
3. UNIX for Dummies Questions & Answers
I have an application service running on an AIX server
Client application is able to connect to the server machine.
Strange thing is
when i do "netstat -a | grep servicename" I get no output
but
when i do "ps -ef | grep service name", I am able to see the service running
I... (1 Reply)
Discussion started by: bryan
1 Replies
4. Windows & DOS: Issues & Discussions
I just installed Services for Unix on a Windows 2003 DC. I have a Debian box with Samba shares for our storage drive. I'm trying to test a Linux client.
She is unable to read or write from the Samba shares. Her login is being mapped to the same name from NIS to AD. She can login from a windows... (0 Replies)
Discussion started by: dawningtech
0 Replies
5. UNIX for Dummies Questions & Answers
hi,
what is the command for checking the particular services and how can we find whether that service is up or down. Consider http service. how to check whether its up or down
Edit: Question continued here. (0 Replies)
Discussion started by: satheeshkr_cse
0 Replies
6. Solaris
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies
7. AIX
Hi
In my AIX 5.3 box I already have the below entry:
#cat /etc/services | grep -i 3602
infiniswitchcl 3602/tcp # InfiniSwitch Mgr Client
infiniswitchcl 3602/udp # InfiniSwitch Mgr Client
Now I got an requirement to add the below entry in the same port... (6 Replies)
Discussion started by: samsungsamsung
6 Replies
8. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
9. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
LEARN ABOUT DEBIAN
micro_proxy
micro_proxy(8) System Manager's Manual micro_proxy(8)
NAME
micro_proxy - really small HTTP/HTTPS proxy
SYNOPSIS
micro_proxy
DESCRIPTION
micro_proxy is a very small HTTP/HTTPS proxy. It runs from inetd, which means its performance is poor. But for low-traffic sites, it's
quite adequate. It implements all the basic features of an HTTP/HTTPS proxy, in only 260 lines of code.
To install it, add a line like this to /etc/inetd.conf:
webproxy stream tcp nowait nobody /usr/sbin/micro_proxy micro_proxy
Make sure the path to the executable is correct. Then add a line like this to /etc/services:
webproxy port/tcp
Change "port" to the port number you want to use - 3128, or whatever. Then restart inetd by sending it a "HUP" signal, or rebooting.
On some systems, inetd has a maximum spawn rate - if you try to run inetd services faster than a certain number of times per minute, it
assumed there's either a bug of an attack going on and it shuts down for a few minutes. If you run into this problem - look for syslog
messages about too-rapid looping - you'll need to find out how to increase the limit. Unfortunately this varies from OS to OS. On Free-
BSD, you add a "-R 10000" flag to inetd's initial command line. On some Linux systems, you can set the limit on a per-service basis in
inetd.conf, by changing "nowait" to "nowait.10000".
AUTHOR
Copyright (C) 1999 by Jef Poskanzer <jef@mail.acme.com>. All rights reserved.
16 March 1999 micro_proxy(8)