can anyone identify if these services are necessary?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now can I anyone tell if the following processes are necessary for proper working of my debian system or can I kill them? Also it would really good if anytime can also mention in one-line as to what does the process signify/do?
All the things in square brackets (including all the stuff in your second list) are parts of the kernel. You can't get rid of them.
As far as the others go, dbus-daemon-1 and hald are required by gnome. Portmap, inetd, and sshd you might be able to get rid of - it depends on what you need on your machine. You can always try to remove them and see what else would go away.
Perhaps you should start poking around the services that are initiated at bootup. No service is booted whitout "your implicit consent" or rather whitout passing thru /etc/rc.d/rc? (depending on the runlevel you enter) ... unless of course, as ataraxia mentionned, it's part of the kernel. So any script located in these directories is a program that will launched at bootup.
All the things in square brackets (including all the stuff in your second list) are parts of the kernel. You can't get rid of them.
As far as the others go, dbus-daemon-1 and hald are required by gnome. Portmap, inetd, and sshd you might be able to get rid of - it depends on what you need on your machine. You can always try to remove them and see what else would go away.
Thanks ataraxia. I was looking for an answer very similar to what you said. Yes I do need inetd,sshd,dhclient service.
So the only service that remains in question is portmap. Should I disable the portmap? I know it is used for RPC but I don;t think so I am using any RPC service???Or perhaps may be. Does the normal operation of the system gets disruppted if I remove portmap?
For more info on necessary services and securing the system you could look at the Securing Debian manual.. theres a whole section on portmap as well as other services etc.. http://www.debian.org/doc/manuals/se...3.en.html#s3.6
Quote:
The most common RPC-based services are NFS (Network File System) and NIS (Network Information System). See the previous section for more information about NIS. The File Alteration Monitor (FAM) provided by the package fam is also an RPC service, and thus depends on portmap
I also disable portmap because ten years ago, one of my machines got hacked by it (trin00 worm), since then it has had a lot of security problems.
Now it seems more stable.
You can disable portmap , which will disable famd. To my mind, famd can be a security risk also and on my laptop it was sometimes eating a lot of cpu (during network transfers)
If you really need famd, then you can add this to /etc/init.d/portmap
OPTIONS="-i 127.0.0.1"
Which will make portmap only listen to local interface, far more secure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.