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
TIA
> 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
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
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
>TIA
> 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
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
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
You can edit
/etc/inetd.conf and disable any other services you do not use.
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 =-
~~~~~~~~~~~~~~~~~~~~~~~~~
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' ?
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 ...