[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to limit udisks2 rules to a specific device?



On 09/04/18 04:50, Mikhail Morfikov wrote:
> When it comes to mounting devices, I have two simple rules:
> 1) only root can do it.
> 2) in some cases only defined users can mount some specific devices.
> 
> So I want to forbid all users (except root) to access all devices that people
> can possibly plug into a USB port. But devices can be distinguished by, for
> instance, some serial number (or something else). I have a USB drive, and I want
> it to be accessed and mounted by my regular user without asking me for password
> each time I do so.

I assume faking the serial number is too difficult to be worried about?

Richard

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: