You are not logged in.

#1 2019-10-23 17:37:44

OZoned
Member
Registered: 2019-10-23
Posts: 4

Log file for web cam

I am trying to see when the webcam is used and if it is activated out of order, for privacy reasons. Where can I find the log file for the camera, when it was used and by what? Or if it is even possible.

My device is a Razer Blade Stealth early 2019 Base model.

Offline

#2 2019-10-23 17:41:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,234

Re: Log file for web cam

plain accesses will likely be in dmesg/the kernel log and hence the journal, if you want to be sure define an audit rule

Offline

#3 2019-10-24 01:29:34

OZoned
Member
Registered: 2019-10-23
Posts: 4

Re: Log file for web cam

I looked into the dmesg and journalctl again but they don't seem to be reporting access. For audit, would I be able to watch the file for the device? /dev/videoX? Or what should I be watching? The wiki doesn't seem to mention anything about devices, or I can't see it.

Offline

#4 2019-10-24 02:06:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,234

Re: Log file for web cam

You would, anything that accesses the webcam would have to access that file at some point. Don't have the webcam right now, but e.g. it's the same for audio devices

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  videl       860 F.... pulseaudio
/dev/snd/controlC1:  videl       860 F.... pulseaudio
/dev/snd/controlC2:  videl       860 F.... pulseaudio

Last edited by V1del (2019-10-24 02:08:16)

Offline

Board footer

Powered by FluxBB