Find the answer to your Linux question:
Results 1 to 3 of 3
hello, I am working in small firm which has a ubuntu as an O.S. I want to block a USB storage devices and games for a specific User so that ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    6

    Blocking USB storage device!

    hello,
    I am working in small firm which has a ubuntu as an O.S. I want to block a USB storage devices and games for a specific User so that they should not able to plug any USB storage device and play any kind of games. I tried doing code : modprobe -r usb_storage but please let me know whether i am going on right path or not....



    Ubuntu
    cheers

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    does your troublesome user always use the same machine?

    if so, then better would be to go into /lib/modules/`uname -r`/kernel/drivers/usb/storage
    and delete usb-storage.ko, on that machine.

    if different machines are used by the troublemaker, then perhaps a special
    login script is in order--rename usb-storage.ko to something else: and then a
    companion logout script, to change it back
    the sun is new every day (heraclitus)

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    The easiest solution is to post a policy and require a signed acknowlegment from all employees that game play during working hours is prohibited, and violation of this policy is grounds for immediate dismissal or other undesirable consequences for the violator. Then, when they continue to violate company policy, you have grounds for dismissal or other disciplinary actions.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...