Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The 'netstat -apute' output on my mandriva 2011 install shows following programs with active connections: rpcbind, nmbd and smbd. These do not appear on my ubuntu linux installation. Do I need these or can I remove them by killall command? I use network for internet browsing only. Thanks in advance.
There are two parts to disabling the services:
1. Stopping the current processes.
To stop a process
In your case, replace <service> with smbd, nmbd, and rpcbind. It's likely that when you stop smbd, nmbd will be stopped, too. Unfortunately, I don't run Ubuntu, so I can't say for sure, but I imagine /etc/init.d/rpcbind stop will stop rpcbind, too. If not, you will have to find the correct script by looking in /etc/init.d with something like
2. Preventing the processes from restarting the next time you boot.
The second step is accomplished by the update-rc.d commands. If you don't mind rebooting, you could skip part 1, execute the update-rc.d commands, and reboot. If you still see the processes running after reboot, then you did something wrong with your update-rc.d commands.
Also, smbd and nmbd are related. Both are used to provide Samba shares from your machine. rpcbind is unrelated to smbd and nmbd. It is related to nfs, among other things, so don't disable it if you are hosting an nfs server.