Skip to main content

Help securing rpcbind

Comments

4 comments

  • cPanelMichael
    Hello, The "rpcbind" package isn't required unless you utilize NFS mounts on the server. You can disable the service with the following commands on CentOS 7:
    systemctl disable rpcbind.service service rpcbind stop
    I don't recommend removing the RPM itself, as it has several dependencies with packages such as quota and dovecot (as you noted). Thank you.
    0
  • Spork Schivago
    Hello, The "rpcbind" package isn't required unless you utilize NFS mounts on the server. You can disable the service with the following commands on CentOS 7:
    systemctl disable rpcbind.service service rpcbind stop
    I don't recommend removing the RPM itself, as it has several dependencies with packages such as quota and dovecot (as you noted). Thank you.

    I had thought about disabling the service, but would that break quotas and dovecot @cPanelMichael? Thanks!
    0
  • cPanelMichael
    I had thought about disabling the service, but would that break quotas and dovecot @cPanelMichael?

    Hello, You should not notice any problems with those packages unless you are using NFS mounts. Thank you.
    0
  • Spork Schivago
    Hello, You should not notice any problems with those packages unless you are using NFS mounts. Thank you.

    I'm not using NFS mounts. I do sometimes mount the server on my local machine using sshfs, so this shouldn't be a problem. When I stopped rpcbind, it said:
    Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket
    So I went ahead and did the same for rpcbind.socket. Thanks for the help! Glad to know nothing depending on rpcbind besides NFS mounts. I think this closes a possible future security breach on my server.
    0

Please sign in to leave a comment.