Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231558

Re: Allow only selected USB

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: Allow only selected USB
Date 2021-02-09 19:50 +0100
Message-ID <BGGff-4IJ-7@gated-at.bofh.it> (permalink)
References <BGG5z-4Fi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 09/02/2021 18:38, Bhasker C V wrote:
> Hi all,
>
> I know it is very useful that linux auto-detects a USB device when
> plugged in. However I am trying to build a server which employs deny
> first rule. That is, I don't want linux kernel to detect any USB
> device even if plugged in except those listed with a Vendor/device ID
> in a file (perhaps stored somewhere securely in the server).
>
> Is this possible ? I tried to skim though internet but could not find
> any useful information except some pages reporting how to disable USB
> storage.
>
> Please could someone help me with some pointers ?
Certainly. https://www.kernel.org/doc/html/latest/usb/authorization.html

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Allow only selected USB Bhasker C V <bhasker@unixindia.com> - 2021-02-09 19:40 +0100
  Re: Allow only selected USB Darac Marjal <mailinglist@darac.org.uk> - 2021-02-09 19:50 +0100
    Re: Allow only selected USB l0f4r0@tuta.io - 2021-02-09 20:50 +0100
      Re: Allow only selected USB Bhasker C V <bhasker@unixindia.com> - 2021-02-09 23:40 +0100
        Re: Allow only selected USB Toni Mas Soler <antomassol@protonmail.com> - 2021-02-13 01:20 +0100

csiph-web