LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 10-22-2011, 10:05 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,062

Rep: Reputation: 41
Do I need rpcbind, nmbd and smbd ?


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.
 
Old 10-23-2011, 03:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
no, you don't. Don't kill them though, disable the samba service properly. http://www.unixtutorial.org/2009/01/...tup-in-ubuntu/
 
Old 10-23-2011, 04:33 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,062

Original Poster
Rep: Reputation: 41
@acid_kewpie: Thanks for your reply and the link. With 37,700 posts, you must be one of most senior persons in linux!

I do not know much about linux services or samba. According to the link, I probably need to enter following commands:

# sudo update-rc.d -f rcpbind remove
# sudo update-rc.d -f nmbd remove
# sudo update-rc.d -f smbd remove

Or are they related and I need to remove only smdb?
 
Old 10-23-2011, 05:03 PM   #4
lqrobert
LQ Newbie
 
Registered: Oct 2011
Distribution: RedHat
Posts: 3

Rep: Reputation: Disabled
There are two parts to disabling the services:
1. Stopping the current processes.
To stop a process
Code:
/etc/init.d/<service> stop
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
Code:
ls /etc/init.d/*rpc*
.
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.
 
Old 10-25-2011, 11:06 PM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,062

Original Poster
Rep: Reputation: 41
Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smbd and nmbd aproan Linux - Networking 1 02-05-2005 08:19 PM
smbd and nmbd missing PhilHalf Linux - General 1 01-28-2003 08:55 AM
smbd and nmbd artman62 Linux - Networking 3 06-27-2002 07:14 PM
smbd and nmbd iquadri1 Linux - Networking 0 09-29-2001 02:41 PM
xinetd and smbd/nmbd suselinux Linux - Networking 3 09-05-2001 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration