0
I'm trying to write a script to disallow mounting of certain usb thumb drive's brand like silicon-power my thought was to use tail -f /var/log/messages
and grep
it to idVendor
and blocking it upon detection can sombody help me on this please? im using centos 7 btw.
1Welcome! We're not a script writing service, but can help with specifics.. We just need more info from you.. What have you got so far? Where are you getting stuck exactly? – Ƭᴇcʜιᴇ007 – 2014-12-26T18:27:28.870
thank you, i wrote my code below can you pls help me figure that out? – mike – 2014-12-26T19:45:55.803