F
F
fokin_nikolay19892016-09-21 10:34:44
linux
fokin_nikolay1989, 2016-09-21 10:34:44

Black and White usb sheets in centos?

Tell me, I have flash drives that can be inserted into computers, and there are some that are not allowed, I want to write sh which, when connecting usb, would check that the device is trusted and open the drive, but if it is not trusted, then it just blocks the flash drive. I poked around in the internet and found
www.linux.org.ru/forum/admin/11863023
but something is somehow confused, and nothing works, help me figure out the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shaazz, 2016-09-30
@shaazz

Here I dealt with a similar topic.
here we look at the id of what is connected, and from here we form the White list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question