Click to See Complete Forum and Search --> : Slack Services
how do you turn off rpc, lpr, etc. services in slack
I know in redhat it has a setup program that tells you which services you can shut down but not so on slackware. I commented out everything that I didnt need in inetd.conf and looked through the rc.d/ dir but didnt find anything
Tyr-7BE
03-31-2001, 03:19 PM
when you edited initd, did you "killall -HUP initd", then "initd"? You need to kill the processes if you want them to stop.
Anything that starts on startup will be in your rc.d folder (I'm not totally sure how slack works, but in Debian it's rcX.d where X is the runlevel). Anything that starts on a timed basis will be in your file /etc/crontab.
Infested Flar
03-31-2001, 04:51 PM
rpc, lpr and etc. are in /etc/rc.d/rc.M .. just look for those lines there.
-flar-
Neurotica
03-31-2001, 09:15 PM
First thing I do on a slack distro is edit:
/etc/rc.d/rc.M
/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2
/etc/rc.d/rc.modules
/etc/inetd.conf
:)
Neurotica
03-31-2001, 09:18 PM
Also if you leave FTP services on, replace wuftpd!!! Get a good ftpserver like proftpd.
The 'r' services are in /etc/rc.d/rc.inet2 and you can also find sendmail / lpd in /etc/rc.d/rc.M. Of course you'll want to edit /etc/inetd.conf and weed out any unwanted services. Luck!
thanx for the tips, I just did a reboot to kill everything that was in inetd.conf, so thats taken care of, so I will edit rc.M and look for services there. thanx ;)
also I know very well about the wuftpd 2.6 root vuln, I cant find in pkgtool a package to remove though, I guess its just piled in with the rest of the networking packages, proftpd seems to be a top choice. and also I think I have to update perl 5.6 and glibc also. ps there is a root sploit for ALL kernels based on 2.2 I believe running about, read bout it on bugtraq.
Im still kinda new to slack but man its rockin! thanx for puttin up with my lame ?'s everybody :cool: