Report this

What is the reason for this report?

Is it safe to remove rpcbind?

Posted on October 26, 2015

Hello,

I have a fresh Debian 8.1 x64 droplet and I noticed that rpcbind is enabled listening on port 111.

Is it safe to completely remove it (rpcbind) along with nfs-common package ?

Is it needed by Digital Ocean in someway I may not be aware of?

Thank you, any help appreciated.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thank you. Very helpful!

It is safe.

Debian installs (not just digital Ocean) default to running rpcbind and rpc.statd

Both of these services are only needed if you plan on using NFS for file sharing. They are otherwise unneeded and are a potential security risk.

You can disable them by running the following commands as root: update-rc.d nfs-common disable update-rc.d rpcbind disable

That will prevent them from starting at boot, but they will continue if already running until you reboot or stop them yourself.

for systemd: get root stop the service: #systemctl stop rpcbind.service disable the service:#systemctl disable rpcbind.service

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.