I agree, the code is very short, however, the modifications to PAM
config are not so trivial IMHO. In the GitHub repo I made some
changes to make it more configurable (separate config file for
device, resolution etc.). I am currently looking into the possibility of sending the picture via e-mail (Improves the usability you mentioned, at least for me), but I am stuck. AFAIK either you need a local SMTP server or use an open relay, which are usually blacklisted though. Ideas welcome... On Wed, 15 Jun 2016 17:14:23 +0200 "W. Martin Borgert" > It looks like the code of the package is very, hm, short: > > time=$(date -I"seconds") > ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -frames 1 > "/var/log/login-webcam/$time.jpg" 2> /dev/null > > plus 3 or 4 lines of PAM config, plus 674 lines of GPL3 :~) > > I wonder, whether the package is really justified. > > Also, why does anybody want to have photos of their irritated face > when mistyping their password? Assuming that anybody with malicious > intent will put their thumb in front of the lense anyway. Sneaky > people who got hold of ones password and log in successfully are > not recorded, right? > > > |
Attachment:
signature.asc
Description: OpenPGP digital signature