• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Disable rpc.quotad Service in CentOS/RHEL

by admin

The protocol used by rpc.rquotad is an unsecured and obsolete protocol and should be disabled. This security vulnerability is discussed in CVE-1999-9625 and further details can be found in that document. This procedure can disrupt NFS clients relying on disk quotas. To avoid issues, schedule a maintenance outage and stop these NFS clients.

For CentOS/RHEL 6 and earlier

1. Edit the file /etc/sysconfig/nfs to have an entry which reads RQUOTAD=”no”, for example:

# fgrep RQUOTAD /etc/sysconfig/nfs
# The below line disables the insecure, obsolete quota protocol used by RQUOTAD
RQUOTAD="no"

2. Restart the NFS service to activate the change:

# /sbin/service nfs stop
# /sbin/service nfs start

For CentOS/RHEL 7 and later

CentOS/RHEL 7 and later uses systemd to manage services. The mask operation prevents even root from starting the service:

# /sbin/systemctl stop    rpc-rquotad.service
# /sbin/systemctl disable rpc-rquotad.service
# /sbin/systemctl mask    rpc-rquotad.service

Verify the service status and check if the service can be started/restarted.

# /sbin/systemctl restart rpc-rquotad.service
Failed to restart rpc-rquotad.service: Unit is masked.
# /sbin/systemctl status  rpc-rquotad.service
● rpc-rquotad.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead

rpc.rquotad is an unsecured and obsolete protocol and it should be disabled.

Filed Under: CentOS/RHEL, Linux

Some more articles you might also be interested in …

  1. chpasswd Command Examples in Linux
  2. CentOS/RHEL: Mount Command Fails With “mount: does not contain SELinux labels”
  3. crontab Command Examples in Linux
  4. How to Use iptables instead of firewalld on CentOS/RHEL 7 and 8
  5. locale Command Examples in Linux
  6. How to clear the buffer/pagecache (disk cache) under Linux
  7. xclip Command Examples in Linux
  8. Understanding /etc/login.defs file
  9. “uname” Command Examples to Check UNIX/Linux Version
  10. perf: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright