linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: How to use Udev to restrict USB access only to particular set
Date: Tue, 22 Feb 2011 13:54:57 +0000	[thread overview]
Message-ID: <20110222135457.GA12220@kroah.com> (raw)
In-Reply-To: <AANLkTinqeg=o_bmdR0CKuVmP14x71kkrE3=zdaxx2AE=@mail.gmail.com>

On Tue, Feb 22, 2011 at 03:46:06PM +0200, Vilius Benetis wrote:
> On Mon, Feb 21, 2011 at 5:57 PM, Greg KH <greg@kroah.com> wrote:
> > Yes, add a udev rule to not "enable" any usb device that is a mass
> > storage device that does not fall in your list of "valid" devices.
> > There is a single sysfs file to write to which would prevent any access
> > to that device, use that.
> 
> Greg,
> 
> by any chance you could draft the command structure, as I think we
> tried this, but probably it did not work for some reason?

Can you post what you tried and the errors you got from that?
You should also look at the archives for this list, as this topic comes
up every 6 months or so, and has been solved numerous times in the past.

thanks,

greg k-h

  parent reply	other threads:[~2011-02-22 13:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21  9:01 How to use Udev to restrict USB access only to particular set of USB sticks? Vilius Benetis
2011-02-21  9:05 ` How to use Udev to restrict USB access only to particular set of Andrey Borzenkov
2011-02-21  9:27 ` Vilius Benetis
2011-02-21 15:57 ` How to use Udev to restrict USB access only to particular set Greg KH
2011-02-22 13:46 ` How to use Udev to restrict USB access only to particular set of Vilius Benetis
2011-02-22 13:54 ` Greg KH [this message]
2011-02-22 14:01 ` Vilius Benetis
2011-02-22 14:28 ` Vilius Benetis
2011-02-22 14:38 ` How to use Udev to restrict USB access only to particular set Greg KH
2011-02-24 13:52 ` How to use Udev to restrict USB access only to particular set of Vilius Benetis
2011-02-24 15:46 ` Greg KH
2011-02-24 16:36 ` Vilius Benetis
2011-02-24 17:01 ` Greg KH
2011-02-24 17:36 ` Vilius Benetis
2011-03-01 14:32 ` Vilius Benetis
2011-03-02  7:06 ` How to use Udev to restrict USB access only to particular set Bryan Kadzban
2011-03-02  8:33 ` How to use Udev to restrict USB access only to particular set of Vilius Benetis
2011-03-03  4:01 ` How to use Udev to restrict USB access only to particular set Bryan Kadzban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110222135457.GA12220@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).