Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to prevent users to copy on usb devices and some others actions. I was thinking of using polkit. Do you think it is a good solution or does someone know some alternatives ?


I also need to disable cd/dvd writing. How could I achieve this ? Polkit doesn't to be shipped with this kind of policy. I was thinking of disabling cdrecord for users.


share|improve this question
"Securing" a workstation has multiple meanings: (1) Securing the hardware, (2) Hardening the operating system, (3) Securing/limiting the available software. "and some other actions" is not helpful to get useful answers. Please consider giving more details. – ierax Feb 25 '12 at 9:32
I want to limit the risk of data leak/thievery on any support. – igor012 Feb 28 '12 at 13:43

There are very many ways of achieving this, you need to have an idea of what "some other actions" are before you can choose the solution.

Assuming that all you want is to prevent copying to usb devices, you could just prevent all usb storage devices from being mounted (blacklist that module). Or you could make the usb storage devices read-only (via udev), etc..

share|improve this answer
I have used polkit-1 and this policy org.freedesktop.udisks.filesystem* – igor012 Feb 28 '12 at 13:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.