Services I want to kill

Services I want to kill

Post by hugh » Sun, 30 Jan 2000 04:00:00



What is the easiest way to kill services That I don't need  I keep
getting different stories from those I talk to and am curious

TIA

 
 
 

Services I want to kill

Post by DanH » Sun, 30 Jan 2000 04:00:00



> What is the easiest way to kill services That I don't need  I keep
> getting different stories from those I talk to and am curious

> TIA

edit /etc/inetd.conf and put a '#' in the front of all the services you
want to disable (Put it in front of all lines is no problem.)

killall -HUP inetd

Then netstat -an to see what you've still got open and to whom it's
open.

Dan
--
UNIX - Not just for vestal *s anymore
Linux - Choice of a GNU generation

 
 
 

Services I want to kill

Post by Bit Twist » Mon, 31 Jan 2000 04:00:00


Guessing you are on Redhat Mandrake.

Use     linuxconf     and look under Control Service Activity
click on the service, click stop and the enable button

Also comment out what you do not want in
        /etc/inetd.conf


>What is the easiest way to kill services That I don't need  I keep
>getting different stories from those I talk to and am curious

>TIA

--
The warrenty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a,  man every_command_here, before doing anything or running a script.
 
 
 

Services I want to kill

Post by Adam » Tue, 01 Feb 2000 04:00:00



> Guessing you are on Redhat Mandrake.

> Use     linuxconf     and look under Control Service Activity
> click on the service, click stop and the enable button

> Also comment out what you do not want in
>         /etc/inetd.conf

After you have made the changes in inetd.conf you need to send a HUP
signal to inetd to tell it to re-read its configuration file. So use "ps
aux | grep inetd" which will display inetd's process id (PID) and then
run "kill -HUP <PID>".

If you are killing services for security reasons, dont forget to run
netstat -a to see what network services are left running on your machine
after the clean up.

Adam

 
 
 

Services I want to kill

Post by yan seine » Wed, 02 Feb 2000 04:00:00


4 places services typically start from:

1.  sys v init scripts - look for /etc/rc.d/init.d/rcx.d where the x is
the runlevel you're using.  Delete or move stuff you don't need.  Read
up on sys V init first.  Deleting the wrong thing or moving stuff around
can make your system unbootable or crash mysteriously.

2.  /etc/rc.d/rc.local - typically only those things you added, so you
should know what's there.

3.  /etc/inittab - persistent things like gettys.  But also hylafax
gettys, which can introduce their own back doors into your system.

4.  /etc/inetd.conf - look in the other messages.

Don't use linuxconf or any other scripts unless you know EXACTLY what
they're modifying.  In fact, remove teh linuxconf service from
inetd.conf....

Don't forget taht services can also start from all sorts of other
scripts (ip-up comes to mind.)

--Yan


> What is the easiest way to kill services That I don't need  I keep
> getting different stories from those I talk to and am curious

> TIA

 
 
 

Services I want to kill

Post by Bit Twist » Thu, 03 Feb 2000 04:00:00


Since it looks like you are on Mandrake, you can use  linuxconf
to control your services. If you kill linuxconf you better
know how to turn it back on if you kill one service too many.

You can edit
/etc/inetd.conf   and disable any other services you do not use.


>What is the easiest way to kill services That I don't need  I keep
>getting different stories from those I talk to and am curious

--
The warrenty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a,  man every_command_here, before doing anything or running a script.
 
 
 

1. KILL KILL KILL

I want to kill a login of mine on the eXceed X-Windows emulator. I've
tried all I can think of and e-mailed my admin (they do nothing!). I'm
concerned that someone could log on to the PC that is running the
eXceed windows login session and mess up my account. I can't get to
the PC and I can't find a pid for the login or shell, but a look at
"who" shows I'm still logged in. Any guru's have a good idea what I
can do? Its getting me down :-(

--
         -= Daniel P Merriott =-
        ~~~~~~~~~~~~~~~~~~~~~~~~~

2. Firewall in Solaris 7

3. Kill COREL; Kill COREL; Kill COREL; ...

4. Error while compiling 1.1.94

5. A method to kill process that cannot be killed even with `kill -9'.

6. oops running kudzu on Linux 2.4.7-ac10 (RH 7.2beta; gcc 2.96-95)

7. How to kill process which not killed by 'kill' ?

8. FreeSCO 5.0.4 and scohelp?

9. IPC services KILL script

10. Jews kill secret service workers for saving lives . . .

11. Kill script needed for ipc services

12. Second Network Card Killed all Services on Primary

13. kill -HUP inetd gives "unknown service" error ...