You are not logged in.

#1 2014-02-13 01:14:25

doupod
Member
Registered: 2012-09-06
Posts: 76

[SOLVED] Prevent a specific USB key from mounting ?

Hi,

I have a USB key containing my keyfile to decrypt my hard disk. I'd like to prevent it from being mount by any user except root (to prevent a malicious script running at startup and dumping it or so).

My problem is that I can specify it in the fstab directly because it is a removable device and the kernel may drop to emergency mode if I put it there. Or maybe there's some option which I don't know ?

Thanks

Last edited by doupod (2014-02-14 23:29:33)

Offline

#2 2014-02-13 03:31:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Prevent a specific USB key from mounting ?

nofail

Offline

#3 2014-02-14 23:28:16

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: [SOLVED] Prevent a specific USB key from mounting ?

Thanks !

Offline

Board footer

Powered by FluxBB