Click to See Complete Forum and Search --> : Automating daemons


Digital Froggy
07-13-2001, 08:16 PM
What files do I edit to stop certain daemons from starting during the boot process in Slack 8.0?

bdl
07-13-2001, 08:20 PM
Depends on which you mean; some are located in /etc/rc.d/rc.inet2, some in /etc/rc.d/rc.M and a couple others scattered throughout the init process. If you want, list what youre looking for and I can point you right to 'em.

Digital Froggy
07-13-2001, 08:25 PM
Here are some things I don't want starting:
sendmail (Don't really need it)
SMB automount
NFS(I think that's what it's called) automount
These things I just don't need

P.S. I've got a another question for you that I made in my modules post last night. I'll bump it up for ya. You really seem to know what you're talking about. :)

bdl
07-13-2001, 09:37 PM
Ok, sendmail and Samba are both started via rc.M, while rc.inet2 starts the portmapper and nfsd. Take a look at both files and comment out what you don't want started up.

At this time, if you havent already, it'd be a good idea to comment out most if not all of /etc/inetd.conf (depending on your system needs that is) and make sure you have valid entries in /etc/hosts.allow and /etc/hosts.deny then restart inetd with the command 'killall -HUP inetd'. Once you've done that and also shut off some unneeded services, run the command 'netstat -autvp' to verify which ports are open and what services may still be running.