6

After installing new debian server, i made intense scan on it to check that it does not have redudant software/open ports.

I found that port 111 is used via rpcbind daemon (debian wheezy installs rpcbind package by default).

I found that they are used for NFS. Does they affect anything else? Can i remove this package, and will my server keep safe after that?

2 Answers 2

8

Actually rpcbind included with the nfs-client package isn't installed by default. It's installed by default if you choose the "standard system utilities" in the tasksel menu during installation.

It's safe to remove everything from this list if you don't want a "bloated distribution". As example it will not install Exim4 MTA, which in my opinion is a waste of time on small server.

If you need NFS Client services just install the nfs-client package after the installation and you'll keep a low footprint on your server box.

1

Yes, you can safely remove rpcbind if you don't plan on using NFS on your server.

3
  • I use NFS as a client, not as a server (/var/git is mounted as an NFS share from another server on my LAN). Can I still remove rpcbind?
    – Cyrille
    Dec 6, 2013 at 9:55
  • @Cyrille yes, I think you can still remove it. From access.redhat.com/site/documentation/en-US/…: "RPC processes notify rpcbind when they start, registering the ports they are listening on and the RPC program numbers they expect to serve. The client system then contacts rpcbind on the server with a particular RPC program number. The rpcbind service redirects the client to the proper port number so it can communicate with the requested service". There are no services on a client. But, test first.
    – thor
    Dec 9, 2013 at 6:55
  • 1
    I confirm mounting a NFS share works without rpcbind on the client. Thanks @Thor.
    – Cyrille
    Dec 9, 2013 at 7:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .