A system administrator needs to ensure that a specific kernel module 'usb_storage' is not loaded automatically during boot on a RHEL 9 system. Which configuration file should be modified to blacklist this module?
Trap 1: Add 'blacklist usb_storage' to /etc/modules-load.d/usb_storage.conf
This loads modules, not blacklists them.
Trap 2: Add 'install usb_storage /bin/false' to /etc/sysconfig/modules/
This is not a standard location; sysconfig is for environment variables.
Trap 3: Add 'blacklist usb_storage' to /etc/init.d/rc.local
rc.local runs at boot but is not the proper way to blacklist modules.
- A
Add 'blacklist usb_storage' to /etc/modules-load.d/usb_storage.conf
Why wrong: This loads modules, not blacklists them.
- B
Add 'install usb_storage /bin/false' to /etc/sysconfig/modules/
Why wrong: This is not a standard location; sysconfig is for environment variables.
- C
Add 'blacklist usb_storage' to /etc/modprobe.d/blacklist.conf
This is the standard location for blacklisting modules.
- D
Add 'blacklist usb_storage' to /etc/init.d/rc.local
Why wrong: rc.local runs at boot but is not the proper way to blacklist modules.