/ Tech Ideas

How to disable web cam in Linux

By the silly block on Amazon


People nowadays are paranoid more or less --- more if you're a Linux user. Luckily it's really easy to disable web cam on a kernel module level. If

lsmod | grep uvcvideo

gives you some entries, you are good just to disable uvcvideo by:

sudo modprobe -r uvcvideo

Where r stands for remove. On the other hand, if you want to make this permanent:

sudo vi /etc/modprobe.d/blacklist.conf
##add a line
blacklist uvcvideo

This will instruct the kernel to unload the module that is being used to drive the web cam, which means that unless attacker has root privilege, you're fine. (I don't see why they would record a video of you if they have root access).

When you do so, if you want temporarily enable the module, you can ask modprobe to do so:

sudo modprobe uvcvideo
Akako L

Akako L

• Sophmore, HEP-ex Physics • Zelda, Splatoon • Casual Photography and OSU! • Decade-long DotA 2 player • Love Japanese Culture

Read More
How to disable web cam in Linux
Share this

Subscribe to The WOrLd