• Frenchgeek@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    2 days ago

    I wonder if you can configure your laptop to take a picture if the password entered is “hunter2”…

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 hours ago

        Webcam snap on bad password, you’d have to write something. Make a service, watch the security events for failed login. I think you could do it, but it would be work.

        • Evil_Incarnate@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          10 hours ago

          Just edit PAM to run a script on fail if the attempt was hunter2. The script takes a photo with the webcam. I’m sure there’s cli webcam utilities.

      • TheEighthDoctor@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        I remember having something like that on windows, but maybe it was the adware from the manufacturer, I don’t remember