/build/static/layout/Breadcrumb_cap_w.png

Hello, it would help me to know if it is possible to block usb ports in linux red hat through a script?

a client is looking for a port blocking solution on linux redhat, with Kace DA it was not possible because it only supports windows, however, maybe usb port blocking could be done with a script


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Nico_K 1 year ago
Red Belt
1

you have multiple options, and all depending on the systems you use and therefore which USB kernel modules you use (you need to do so, or you cannot block it if your kernel contains all the drivers)
This can be a real pain in where no sun shines if you have many different systems. (from a hardware perspective)
This could be helpful (and may be different on diffent systems but is easily scriptable)
https://www.tecmint.com/block-usb-storage-devices-in-linux/

Therefore I suggest you make yourself familiar with usbguard.
Here you have a nice blog from Red Hat which should answer all of your questions:
https://www.redhat.com/en/blog/usbguard-improvements-red-hat-enterprise-linux-83

Posted by: miguel lima 1 year ago
White Belt
0

Thanks Nico

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ